搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I am trying to hide the Options menu in UserChrome.css but it is not working. Here is what I have tried menuitem[label="Options..."] {display:none !important;}

  • 1 回覆
  • 3 有這個問題
  • 20 次檢視
  • 最近回覆由 cor-el

more options

In the userChrome.css I have tried the following entry: #updateSeparator, #checkForUpdates {display: none !important;} menuitem[label="Options..."] {display:none !important;} menuitem[label="Add-ons"] {display:none !important;} menuitem[label="Get Bookmark Add-ons"] {display:none !important;}

The other lines work, but the line to hide the Options menu does not. This in on Windows 32-bit XP sp3.

In the userChrome.css I have tried the following entry: #updateSeparator, #checkForUpdates {display: none !important;} menuitem[label="Options..."] {display:none !important;} menuitem[label="Add-ons"] {display:none !important;} menuitem[label="Get Bookmark Add-ons"] {display:none !important;} The other lines work, but the line to hide the Options menu does not. This in on Windows 32-bit XP sp3.

所有回覆 (1)

more options

It is an ellipsis (…) and not three dots.

If there is an ID for a menu entry like in this case #menu_preferences then it is better to use that ID.

#menu_preferences, #menu_openAddons, {display:none!important;}

"Get Bookmark Add-ons" is a normal bookmark that you can remove via the right-click context menu or move elsewhere.