Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

How to hide or disable the 'Bookmark this page' button in the location bar

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Apothor

more options

I never use the 'Bookmark this page' button in the location bar. Meanwhile it takes precious real estate in the small location bar (I have many extension buttons in the toolbar). Is there a way to hide or disable this button?

I never use the 'Bookmark this page' button in the location bar. Meanwhile it takes precious real estate in the small location bar (I have many extension buttons in the toolbar). Is there a way to hide or disable this button?
附加的畫面擷圖

被選擇的解決方法

You can hide it with a file named userChrome.css. Remove the blank space from the following.

https://www.userchrome. org/how-create-userchrome-css.html

This is the code to use in the file.

#star-button-box { display:none !important; }
從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

You can hide it with a file named userChrome.css. Remove the blank space from the following.

https://www.userchrome. org/how-create-userchrome-css.html

This is the code to use in the file.

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

I finally got around to implementing it. Unfortunately, the button remains. Although, I fully trust the solution should work, I could not make it work.

more options

Did you use the exact file name and place it in the correct folder? Did you enable the use of style sheets in about:config? (Screenshot attached.)

由 Terry 於 修改

more options

Jup. Dumbass me overlooked naming error: userChromes.css. Solved.