Get rid of "Unsorted Bookmarks" in FF 30
FF 30 apparently has this hard coded. "Unsorted Bookmarks" is now at the end of my nicely sorted list. I would like to get rid of it, delete it permanently, kick it to the curb. It's kind of lousy having this thing hanging out there.
I'm running Linux Mint Debian Edition fwiw. I checked into all the about:config options and also the permissions on my .mozilla/firefox/mwadxxyy.default folder thoroughly. There appears to be no easy way to get rid of it. It's undelete-able.
Any solutions?
Выбранное решение
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
- Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
- Use a plain text editor like Notepad to create a (new) userChrome.css file in this folder (the names are case sensitive)
- Paste the code in the userChrome.css file in the editor window and make sure that the userChrome.css file starts with the default @namespace line
- Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css. Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
Все ответы (5)
You can't delete the Unsorted Bookmarks folder, but you can hide it.
- Install Stylish and restart Firefox when prompted.
- Click the Stylish icon on the navigation toolbar and choose Write New Style, then Blank style.
- Paste the following in the text box, give the style a name, then click the Save button.
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* Title: Bookmarks Button menu - hide Unsorted Bookmarks Tested on: Firefox 31 Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941 */ #BMB_unsortedBookmarks + menuseparator, #BMB_unsortedBookmarks { display: none !important; } /* Title: Bookmarks Menu (on the menu bar) - hide Unsorted Bookmarks Tested on: Firefox 28, Firefox 31 Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941 */ #bookmarksMenuPopup > .hide-if-empty-places-result, #menu_unsortedBookmarks { display: none !important; }
If you don't want to install an add-on, you can use the userChrome.css file instead, but I don't recommend it. In that file, the first line of the style should only appear once at the top.
To hide other items in the bookmarks menus, see
Note that you can't hide the unsorted folder in the sidebar. This is only possible in the "Show your bookmarks" drop-down list and in the Bookmarks menu,
1) I was hoping to do this cleanly, without installing an add-on like stylish.
2) There's no such folder as "chrome" anywhere below /home/myuserid/.mozilla. It's not in there, nor in my mwad0hks.default folder just below that one. There's no such thing in LMDE or I suspect in most Linux distros.
My suggestion, please get RID of this thing in the next update. Although it's not a technical challenge for me to implement either one, neither of the above is a "clean" solution. Very messy for something that imho should not be hard coded and un-deletable or unmove-able in the first place.
Any ideas on #2 above? Create the chrome folder withing my profile folder maybe? Then, create the UserChrome.css file?
Выбранное решение
The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.
- Create the chrome folder (lowercase) in the <xxxxxxxx>.default profile folder if this folder doesn't exist
- Use a plain text editor like Notepad to create a (new) userChrome.css file in this folder (the names are case sensitive)
- Paste the code in the userChrome.css file in the editor window and make sure that the userChrome.css file starts with the default @namespace line
- Make sure that you select "All files" and not "Text files" when you save the file via "Save file as" in the text editor as userChrome.css. Otherwise Windows may add a hidden .txt file extension and you end up with a not working userChrome.css.txt file
Thanks, missed the "create folder if not there" in a prior post / link. The CSS file works fine to eliminate "unsorted bookmarks".