FF 54.0 How to remove mobile-bookmark?

User Help for Mozilla Firefox
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by dickvl »

The extension merely uses the pref (browser.bookmarks.showMobileBookmarks) and Firefox probably sets this pref the next time Sync finds mobile bookmarks to make the mobile bookmarks are visible.
https://dxr.mozilla.org/mozilla-release ... es.js#1404

Using code in userChrome.css will hide this section via CSS code and this always bypasses the pref.
bitscooper
Posts: 51
Joined: April 13th, 2015, 7:14 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by bitscooper »

dickvl wrote:Bug 1295237 - Mobile bookmarks folder should appear in bookmarks panel
( please do not comment in bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html )

Add code to the userChrome.css file below the default @namespace line.
http://kb.mozillazine.org/userChrome.css

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#BMB_mobileBookmarks, #menu_mobileBookmarks {display:none!important}
You need to create the chrome folder in the profile folder if this folder doesn't exist and create a text file named userChrome.css in this folder.
The folder name 'chrome' and the file name userChrome.css are case sensitive.
http://kb.mozillazine.org/Editing_configuration
I've added a folder to the profile folder with the userChrome.css inside, but the mobile-bookmarks folder still appears?
I assume a normal folder will do?

Perhaps the {display:none!important} should be unhooked?

Enlighten me please.... :wink:
User avatar
LIMPET235
Moderator
Posts: 39956
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: FF 54.0 How to remove mobile-bookmark?

Post by LIMPET235 »

Hi,
Just in case you missed this bit that dickvl posted... It's important.
You need to create the chrome folder in the profile folder if this folder doesn't exist...
Not sure if you named it as such & used all lower case?
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
bitscooper
Posts: 51
Joined: April 13th, 2015, 7:14 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by bitscooper »

LIMPET235 wrote:Hi,
Just in case you missed this bit that dickvl posted... It's important.
You need to create the chrome folder in the profile folder if this folder doesn't exist...
Not sure if you named it as such & used all lower case?


You can be sure I did exactly as dickvl posted. :)
Folder: chrome File: userChrome.css
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by dickvl »

Is userChrome.css a CSS file and not a text file with a hidden .txt file extension (userChrome.css.txt)?
bitscooper
Posts: 51
Joined: April 13th, 2015, 7:14 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by bitscooper »

userChrome is a .css file. I saved it like that, and in the properties of userChrome it states that it is a...CSS Document (.css) .
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by dickvl »

The chrome folder is in the correct location (AppData\Roaming)?

Help -> Troubleshooting Information -> Profile Directory: Show Folder

Can you post the path of the userChrome.css file and the content of userChrome.css ?
bitscooper
Posts: 51
Joined: April 13th, 2015, 7:14 am

Re: FF 54.0 How to remove mobile-bookmark?

Post by bitscooper »

I have found the issue why it didn't work...

I placed the chrome folder in: C:\Users\Usuario\AppData\Roaming\Mozilla\Firefox\Profiles

But when you asked to navigate via the help menu i did end up in another folder.
This is where i ended:C:\Users\Usuario\AppData\Roaming\Mozilla\Firefox\Profiles\okgzwe5z.default-1469813924572

I did put the chrome folder there, restarted and now the annoying mobile-bookmarks folder doesn't show up anymore.

Thanks for your effort Dickvl!
Post Reply