We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

How do I disable right click on the top that let's you disable 'bookmarks toolbar'?

  • 4 replies
  • 1 has this problem
  • 10 views
  • Last reply by cor-el

more options

The bookmarks for my parents firefox keeps disappearing once every two weeks or so. I suspect they might have right clicked accidentally and disabled the bookmarks menu.

Is there a way i can lock down the bookmarks so it's always there? Make it not possible to disable bookmarks menu.

I tried editing my ~/.mozilla/firefox/<profile>/chrome/userChrome.css and playing around with about:config but couldn't get anything working. I am still able to right click and make bookmarks toolbar disappear.

Thanks for any help.

The bookmarks for my parents firefox keeps disappearing once every two weeks or so. I suspect they might have right clicked accidentally and disabled the bookmarks menu. Is there a way i can lock down the bookmarks so it's always there? Make it not possible to disable bookmarks menu. I tried editing my ~/.mozilla/firefox/<profile>/chrome/userChrome.css and playing around with about:config but couldn't get anything working. I am still able to right click and make bookmarks toolbar disappear. Thanks for any help.

Chosen solution

You're welcome

There are three places with the #toggle_PersonalToolbar ID.

View menu:

#view-menu #viewToolbarsMenu #toggle_PersonalToolbar

Customize in the "3-bar" Firefox menu button:

#customization-toolbar-visibility-button #customization-toolbar-menu #toggle_PersonalToolbar

Toolbar context menu:

#toolbar-context-menu #toggle_PersonalToolbar
Read this answer in context 👍 1

All Replies (4)

more options

If you only want to hide the item in that toolbar context menu then use this code Other possible places include #viewToolbarsMenu and #customization-toolbar-menu or leave out the selector and only use #toggle_PersonalToolbar

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

#toolbar-context-menu #toggle_PersonalToolbar { display:none !important; }
more options

Hi thanks for your reply.

I added those 3 lines

  1. toggle_PersonalToolbar

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

  1. toolbar-context-menu #toggle_PersonalToolbar { display:none !important; }


to my ./mozilla/firefox/<profile>/chrome/userChrome.css restarted firefox but still nothing different. I can still right click to hide the bookmarks toolbar.

(i am on a fedora machine)

Am I doing something wrong? Thanks super much.

more options

Oh thank you! It works!


I was putting this in my ~/.mozilla/firefox/<my profile>/chrome/userChrome.css


  #toggle_PersonalToolbar
  @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
  #toolbar-context-menu #toggle_PersonalToolbar { display:none !important; }


not realizing the '#toggle_PersonalToolbar' is not part of what you meant. Thanks! Works great!

more options

Chosen Solution

You're welcome

There are three places with the #toggle_PersonalToolbar ID.

View menu:

#view-menu #viewToolbarsMenu #toggle_PersonalToolbar

Customize in the "3-bar" Firefox menu button:

#customization-toolbar-visibility-button #customization-toolbar-menu #toggle_PersonalToolbar

Toolbar context menu:

#toolbar-context-menu #toggle_PersonalToolbar