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.
FF 54.0 How to remove mobile-bookmark?
-
- Posts: 51
- Joined: April 13th, 2015, 7:14 am
Re: FF 54.0 How to remove mobile-bookmark?
I've added a folder to the profile folder with the userChrome.css inside, but the mobile-bookmarks folder still appears?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
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.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}
The folder name 'chrome' and the file name userChrome.css are case sensitive.
http://kb.mozillazine.org/Editing_configuration
I assume a normal folder will do?
Perhaps the {display:none!important} should be unhooked?
Enlighten me please....
- 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?
Hi,
Just in case you missed this bit that dickvl posted... It's important.
Just in case you missed this bit that dickvl posted... It's important.
Not sure if you named it as such & used all lower case?You need to create the chrome folder in the profile folder if this folder doesn't exist...
[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.)
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.)
-
- Posts: 51
- Joined: April 13th, 2015, 7:14 am
Re: FF 54.0 How to remove mobile-bookmark?
LIMPET235 wrote:Hi,
Just in case you missed this bit that dickvl posted... It's important.Not sure if you named it as such & used all lower case?You need to create the chrome folder in the profile folder if this folder doesn't exist...
You can be sure I did exactly as dickvl posted.
Folder: chrome File: userChrome.css
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: FF 54.0 How to remove mobile-bookmark?
Is userChrome.css a CSS file and not a text file with a hidden .txt file extension (userChrome.css.txt)?
-
- Posts: 51
- Joined: April 13th, 2015, 7:14 am
Re: FF 54.0 How to remove mobile-bookmark?
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) .
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: FF 54.0 How to remove mobile-bookmark?
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 ?
Help -> Troubleshooting Information -> Profile Directory: Show Folder
Can you post the path of the userChrome.css file and the content of userChrome.css ?
-
- Posts: 51
- Joined: April 13th, 2015, 7:14 am
Re: FF 54.0 How to remove mobile-bookmark?
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!
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!