Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više
Solved Arhivirano

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

helpmepleasenow

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.
Pročitaj ovaj odgovor u kontekstu

Odabrano rješenje

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

Svi odgovori (4)

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; }

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.

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!

Odabrano rješenje

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