Mobile Bookmarks won't hide. Why?
I have the latest version of Firefox and I'd like to hide Mobile Bookmarks from anywhere possible inside it (the sidebar, star-button pop-up window etc)
I have tried these:
1) about:config
browser.bookmarks.showMobileBookmarks;false
2) userChrome.css
about:support > open folder > created new folder named "chrome" there and put userChrome.css file inside it (the filenames is fine: there's no .txt at the end of it)
the code:
#BMB_mobileBookmarks, #menu_mobileBookmarks { display: none !important; }
All the above won't change anything. Why is that? Or maybe I'm doing something wrong?
Izmjenjeno
All Replies (4)
Are you using Sync?
Can you confirm that other code in userChrome.css is working?
Note that you won't be able to hide the mobile folder in the sidebar. This only works for the Bookmarks Menu and the bookmarks menu toolbar button.
cor-el said
Are you using Sync?
Yes, I think I do. Because the browser is connected to my Firefox account.
cor-el said
Can you confirm that other code in userChrome.css is working?
No, I can't. No matter what code I add to it it changes nothing.
cor-el said
Note that you won't be able to hide the mobile folder in the sidebar. This only works for the Bookmarks Menu and the bookmarks menu toolbar button.
I see. Is it a temporary thing, or rather a permanent one which is not going to be changed soon?
Thank you very much!
It isn't possible to select an individual item in a tree children drop-down list since this is just a list (compare it to a read-only text area) and not a structure that shows in the DOM, so this is permanent for the sidebar. You should be able to hide this section in a menu or button drop-down list.
cor-el said
It isn't possible to select an individual item in a tree children drop-down list since this is just a list (compare it to a read-only text area) and not a structure that shows in the DOM, so this is permanent for the sidebar. You should be able to hide this section in a menu or button drop-down list.
Thank you for the explanation.
I know I should be able to do that, in fact I have already done that in the past (several years ago or so). But now it is not working for me. So, there must be a reason for that and, that's why I'm asking here for the help of more experienced people.
Previously I couldn't confirm that other code in userChrome.css was working. Now I can confirm that my userChrome.css is working. The thing is I don't really know much about the classes and ids and the elements names that are used in FF. So, in order to test it I simply googled for some examples and after pasting them and restarting FF I didn't notice any changes, but then later I found that some changes in fact did occur. For example I was able to change menu-bar color with "menubar {background-color: red}".
BTW, In my first post there is a typo. Here's the actual code I'm using:
#BMB_mobileBookmarks, #menu_mobileBookmarks { display: none !important; }
This code hides "Mobile Bookmarks" in a menu but not in a "star-button pop-up window" (is that what you called "button drop-down list"?)
Thank you.
Izmjenjeno