搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Get rid of "Unsorted Bookmarks" in FF 30

  • 5 回覆
  • 17 有這個問題
  • 1 次檢視
  • 最近回覆由 gtsfer

more options

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?

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
從原來的回覆中察看解決方案 👍 1

所有回覆 (5)

more options

You can't delete the Unsorted Bookmarks folder, but you can hide it.

  1. Install Stylish and restart Firefox when prompted.
  2. Click the Stylish icon on the navigation toolbar and choose Write New Style, then Blank style.
  3. 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

more options

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,

more options

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?

more options

選擇的解決方法

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
more options

Thanks, missed the "create folder if not there" in a prior post / link. The CSS file works fine to eliminate "unsorted bookmarks".