搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 4 个回答
  • 1 人有此问题
  • 24 次查看
  • 最后回复者为 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.

被采纳的解决方案

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
定位到答案原位置 👍 1

所有回复 (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

选择的解决方案

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