MozillaZine

Bookmarks in menu

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

Post Posted October 7th, 2017, 8:03 pm

Hello all,

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

Thanks in advance.

LoveMyFoxy

User avatar
 
Posts: 1844
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted October 7th, 2017, 9:43 pm

The one in menu bar to the right of History? You can't. It's a standardized Windows menu.
Desktop--Win 7 Ult. 64, 6GB RAM /FF ESR / Thunderbird 52 / Chrome /Opera / Avira A-V / Windows firewall / Verizon FIOS

Gingerbread Man

User avatar
 
Posts: 7449
Joined: January 30th, 2007, 10:55 am

Post Posted October 8th, 2017, 12:19 am

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.

LoveMyFoxy

User avatar
 
Posts: 1844
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted October 8th, 2017, 6:33 am

Oh, didn't know. Won't all the css be gone after FF 57?
Desktop--Win 7 Ult. 64, 6GB RAM /FF ESR / Thunderbird 52 / Chrome /Opera / Avira A-V / Windows firewall / Verizon FIOS

Gingerbread Man

User avatar
 
Posts: 7449
Joined: January 30th, 2007, 10:55 am

Post Posted October 8th, 2017, 8:30 am

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: 9
Joined: January 6th, 2007, 5:42 am

Post Posted October 9th, 2017, 5:04 pm

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

Return to Firefox Support


Who is online

Users browsing this forum: No registered users and 4 guests