Bookmarks in menu

User Help for Mozilla Firefox
Post Reply
Neustradamus
Posts: 13
Joined: January 6th, 2007, 5:42 am

Bookmarks in menu

Post by Neustradamus »

Hello all,

I have a request, how it is possible to remove the Bookmarks menu (not icon) near History?

Thanks in advance.
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Bookmarks in menu

Post by lovemyfoxy »

The one in menu bar to the right of History? You can't. It's a standardized Windows menu.
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Bookmarks in menu

Post by Gingerbread Man »

Plop the following at the bottom of your userChrome.css file.

Code: Select all

#bookmarksMenu { display: none !important; }
  1. If you've never heard of that file before, start by typing about:support in the address bar and pressing Enter.
  2. Click the Open Folder button.
  3. In the File Explorer window that opens, create a new folder called chrome — make sure you get the spelling right and note that the name is case-sensitive.
  4. Launch a text editor like Notepad and paste the following in a new file.

    Code: Select all

    @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
    /* ^ The above line needs to be there. */
    
    /* This is where you put CSS code that alters the user interface, like the one I posted at the top */
  5. Save the file to your desktop as userChrome.css Again, be sure to spell it correctly and note that the file name is case-sensitive.
  6. Move the file from the desktop into the chrome folder you created earlier.
  7. Restart Firefox for the change to take effect.
LoveMyFoxy wrote:You can't. It's a standardized Windows menu.
Being unable to style the menu bar is only a limitation on Mac OS.
User avatar
lovemyfoxy
Posts: 2337
Joined: December 11th, 2009, 11:23 am
Location: USA

Re: Bookmarks in menu

Post by lovemyfoxy »

Oh, didn't know. Won't all the css be gone after FF 57?
2 Desktops--Win 7 Ult.SP1 x64/6GB RAM /Firefox 52.9ESR/Waterfox64 2022.11/Thunderbird 52.9ESR/BitWarden PW Manager/Verizon FIOS wired network
User avatar
Gingerbread Man
Posts: 7735
Joined: January 30th, 2007, 10:55 am

Re: Bookmarks in menu

Post by Gingerbread Man »

No, the above still works in Firefox 58.

Starting with Firefox 57, extensions can't style the user interface, so userChrome.css must be used instead. Extensions like DOM Inspector will also stop working, but the built-in developer tools can be used to examine the user interface and web pages.
Neustradamus
Posts: 13
Joined: January 6th, 2007, 5:42 am

Re: Bookmarks in menu

Post by Neustradamus »

Thanks a lot Gingerbread Man, it is perfect about it!
Post Reply