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!

搜索 | 用户支持

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

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.