搜尋 Mozilla 技術支援網站

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

了解更多

How to get rid of bookmark star?

  • 3 回覆
  • 5 有這個問題
  • 1 次檢視
  • 最近回覆由 potato123

more options

How to get rid of bookmark star? I tried:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }

by creating and putting it in a file "userChrome.css" in "chrome" folder in my profile, but it didn't work.

Is there another way?

How to get rid of bookmark star? I tried: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; } by creating and putting it in a file "userChrome.css" in "chrome" folder in my profile, but it didn't work. Is there another way?

由 potato123 於 修改

被選擇的解決方法

Nevermind, it turns out I was saving my files as userChrome.css.txt.


The code below does work:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

Hi, check the next (always in userChrome.css)

   #star-button { display: none !important; }

thank you

由 ideato 於 修改

more options

The current version of the bookmarks star on the Navigation Toolbar consists of two buttons, one if the actual star button and the other is the drop marker that opens the drop-down list.

These are the selectors for both:

#nav-bar-customization-target #bookmarks-menu-button .toolbarbutton-menubutton-button
#nav-bar-customization-target #bookmarks-menu-button .toolbarbutton-menubutton-dropmarker
more options

選擇的解決方法

Nevermind, it turns out I was saving my files as userChrome.css.txt.


The code below does work:

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); #bookmarks-menu-button toolbarbutton { visibility:collapse !important; }