Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

bookmark menu clutter

more options

Hi,

I recently reset firefox and I'm in the process of setting it up again.

In the bookmark dropdown menu there's a lot of clutter, view bookmarks folder, show all bookmarks, bookmark this page, subscribe to this page, bookmarks toolbar etc.

The only thing I want to see is my folders. My searches have suggested adding a userChrome.css file and pasting some code in there but it's made no difference (the links were pretty old).

Any ideas how to achieve my goal?

Thanks.

Hi, I recently reset firefox and I'm in the process of setting it up again. In the bookmark dropdown menu there's a lot of clutter, view bookmarks folder, show all bookmarks, bookmark this page, subscribe to this page, bookmarks toolbar etc. The only thing I want to see is my folders. My searches have suggested adding a userChrome.css file and pasting some code in there but it's made no difference (the links were pretty old). Any ideas how to achieve my goal? Thanks.

Chosen solution

Hello,

  1. Install Stylish and restart Firefox when prompted.
  2. Open the Add-ons Manager (Ctrl+Shift+A), then the User Styles category.
  3. Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.
    • The first style affects the menu under the Bookmarks Button on the toolbar in the current version of Firefox. This is what you're after.
    • The second does the same for Firefox 31 (and presumably Firefox 29 and Firefox 30 as well).
    • The third affects the Bookmarks Menu on the menu bar; it works in both Firefox 28 and Firefox 31, so it'll almost certainly work in Firefox 29 and Firefox 30 as well.

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

/*
Title: Bookmarks Button menu - show only folders and bookmarks
Tested on: Firefox 28
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#BMB_viewBookmarksToolbar + menuseparator,
#BMB_viewBookmarksToolbar,
#BMB_bookmarksShowAll + menuseparator,
#BMB_bookmarksShowAll,
#BMB_bookmarkThisPage,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup + menuseparator,
#BMB_subscribeToPageMenupopup,
#BMB_bookmarksToolbar + menuseparator,
#BMB_bookmarksToolbar,
#BMB_bookmarksPopup > menu[label="Recently Bookmarked"],
#BMB_bookmarksPopup > menu[label="Recent Tags"] + menuseparator,
#BMB_bookmarksPopup > menu[label="Recent Tags"],
#BMB_bookmarksPopup > menu[label="Most Visited"],
#BMB_unsortedBookmarks,
#BMB_bookmarksPopup > .hide-if-empty-places-result {
  display: none !important;
}

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

/*
Title: Bookmarks Button menu - show only folders and bookmarks
Tested on: Firefox 31
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#BMB_viewBookmarksSidebar + menuseparator,
#BMB_viewBookmarksSidebar,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup + menuseparator,
#BMB_subscribeToPageMenupopup,
#BMB_bookmarksToolbar,
#BMB_unsortedBookmarks + menuseparator,
#BMB_unsortedBookmarks,
#BMB_bookmarksPopup > menu[label="Recently Bookmarked"],
#BMB_bookmarksPopup > menu[label="Recent Tags"] + menuseparator,
#BMB_bookmarksPopup > menu[label="Recent Tags"],
#BMB_bookmarksPopup > menu[label="Most Visited"],
#BMB_bookmarksShowAll {
  display: none !important;
}

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

/*
Title: Bookmarks Menu (on the menu bar) - show only folders and bookmarks
Tested on: Firefox 28, Firefox 31
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#bookmarksShowAll,
#organizeBookmarksSeparator,
#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksToolbarSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksMenuItemsSeparator + menuseparator,
#bookmarksMenuItemsSeparator,
#bookmarksMenuPopup > menu[label="Recently Bookmarked"],
#bookmarksMenuPopup > menu[label="Recent Tags"] + menuseparator,
#bookmarksMenuPopup > menu[label="Recent Tags"],
#bookmarksMenuPopup > menu[label="Most Visited"],
#bookmarksMenuPopup > .hide-if-empty-places-result,
#menu_unsortedBookmarks {
  display: none !important;
}
Read this answer in context 👍 2

All Replies (5)

more options

Do you want to customize the menu on the classic menu bar, or the one that opens from a toolbar button?

As you may know, Firefox 29 will be making many changes to the menu and toolbar area, and some userChrome.css rules that work in Firefox 28 will not work in Firefox 29. Not that you should wait if this is a major pain point, but just a note that you may need to revise them again in a few weeks.

more options

Incidentally, your old userChrome.css file would be in the "Old Firefox Data" folder that reset creates on your desktop. Worth digging into there to save the time of researching them again if you haven't already.

more options

Thanks for the reply, basically I'm looking to get rid of all this.... http://i.imgur.com/BaIYoll.jpg

It's been a long time since I setup firefox and I figured whilst I'm sorting it all out again it'd be nice to get rid of this minor annoyance ;)

(the link is the same as the attachment btw)

Modified by momo-no-gogo

more options

Chosen Solution

Hello,

  1. Install Stylish and restart Firefox when prompted.
  2. Open the Add-ons Manager (Ctrl+Shift+A), then the User Styles category.
  3. Click the Write New Style button at the top. Paste the following in the text box, give the style a name, then click the Save button.
    • The first style affects the menu under the Bookmarks Button on the toolbar in the current version of Firefox. This is what you're after.
    • The second does the same for Firefox 31 (and presumably Firefox 29 and Firefox 30 as well).
    • The third affects the Bookmarks Menu on the menu bar; it works in both Firefox 28 and Firefox 31, so it'll almost certainly work in Firefox 29 and Firefox 30 as well.

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

/*
Title: Bookmarks Button menu - show only folders and bookmarks
Tested on: Firefox 28
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#BMB_viewBookmarksToolbar + menuseparator,
#BMB_viewBookmarksToolbar,
#BMB_bookmarksShowAll + menuseparator,
#BMB_bookmarksShowAll,
#BMB_bookmarkThisPage,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup + menuseparator,
#BMB_subscribeToPageMenupopup,
#BMB_bookmarksToolbar + menuseparator,
#BMB_bookmarksToolbar,
#BMB_bookmarksPopup > menu[label="Recently Bookmarked"],
#BMB_bookmarksPopup > menu[label="Recent Tags"] + menuseparator,
#BMB_bookmarksPopup > menu[label="Recent Tags"],
#BMB_bookmarksPopup > menu[label="Most Visited"],
#BMB_unsortedBookmarks,
#BMB_bookmarksPopup > .hide-if-empty-places-result {
  display: none !important;
}

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

/*
Title: Bookmarks Button menu - show only folders and bookmarks
Tested on: Firefox 31
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#BMB_viewBookmarksSidebar + menuseparator,
#BMB_viewBookmarksSidebar,
#BMB_subscribeToPageMenuitem,
#BMB_subscribeToPageMenupopup + menuseparator,
#BMB_subscribeToPageMenupopup,
#BMB_bookmarksToolbar,
#BMB_unsortedBookmarks + menuseparator,
#BMB_unsortedBookmarks,
#BMB_bookmarksPopup > menu[label="Recently Bookmarked"],
#BMB_bookmarksPopup > menu[label="Recent Tags"] + menuseparator,
#BMB_bookmarksPopup > menu[label="Recent Tags"],
#BMB_bookmarksPopup > menu[label="Most Visited"],
#BMB_bookmarksShowAll {
  display: none !important;
}

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

/*
Title: Bookmarks Menu (on the menu bar) - show only folders and bookmarks
Tested on: Firefox 28, Firefox 31
Author: http://forums.mozillazine.org/memberlist.php?mode=viewprofile&u=261941
*/

#bookmarksShowAll,
#organizeBookmarksSeparator,
#menu_bookmarkThisPage,
#subscribeToPageMenuitem,
#subscribeToPageMenupopup,
#menu_bookmarkAllTabs,
#bookmarksToolbarSeparator,
#bookmarksToolbarFolderMenu,
#bookmarksMenuItemsSeparator + menuseparator,
#bookmarksMenuItemsSeparator,
#bookmarksMenuPopup > menu[label="Recently Bookmarked"],
#bookmarksMenuPopup > menu[label="Recent Tags"] + menuseparator,
#bookmarksMenuPopup > menu[label="Recent Tags"],
#bookmarksMenuPopup > menu[label="Most Visited"],
#bookmarksMenuPopup > .hide-if-empty-places-result,
#menu_unsortedBookmarks {
  display: none !important;
}
more options

You're a legend, thanks.

I already had stylish installed so I just copied the main text from the first one and that was it, job done! Took about 10 seconds!

Thanks