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

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji
Wątek został zarchiwizowany. Jeśli potrzebujesz pomocy, zadaj nowe pytanie.
Rozwiązane Zarchiwizowany

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.
Przeczytaj tę odpowiedź w całym kontekście

Wybrane rozwiązanie

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

Wszystkie odpowiedzi (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!

Wybrane rozwiązanie

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