为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Remove favicons?

  • 6 个回答
  • 1 人有此问题
  • 20 次查看
  • 最后回复者为 Phin

more options

Is it possible to remove favicons from the Bookmark Tool bar and bookmark pulldown menus? It'd be a much cleaner look. Not entirely sure, but it looks like someone was asking a similar question here: https://support.mozilla.org/en-US/questions/1258765 If by any chance pasting his contact here reaches @jscher2000 perhaps he has some input. https://support.mozilla.org/en-US/user/jscher2000 Thanks!

Is it possible to remove favicons from the Bookmark Tool bar and bookmark pulldown menus? It'd be a much cleaner look. Not entirely sure, but it looks like someone was asking a similar question here: https://support.mozilla.org/en-US/questions/1258765 If by any chance pasting his contact here reaches @jscher2000 perhaps he has some input. https://support.mozilla.org/en-US/user/jscher2000 Thanks!

被采纳的解决方案

You can possibly use code in userChrome.css to remove favicons on the Bookmarks Toolbar. On Mac you may not be able to do this in the Bookmarks menu because on Mac the main menu bar is controlled by the Mac OS.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* hide favicons on Bookmarks Toolbar */
#personal-bookmarks .bookmark-item .toolbarbutton-icon { display:none!important; }

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file (make sure it doesn't have RTF code).

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

定位到答案原位置 👍 1

所有回复 (6)

more options

选择的解决方案

You can possibly use code in userChrome.css to remove favicons on the Bookmarks Toolbar. On Mac you may not be able to do this in the Bookmarks menu because on Mac the main menu bar is controlled by the Mac OS.

Add code to the userChrome.css file below the default @namespace line.


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* hide favicons on Bookmarks Toolbar */
#personal-bookmarks .bookmark-item .toolbarbutton-icon { display:none!important; }

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file (make sure it doesn't have RTF code).

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

由cor-el于修改

more options

Excellent. Thank you for that considerately laid out solution. Yes, they're still in the Bookmarks menu, but the Toolbar looks much better. And the creation of the folder and file were quite simple. (Mac Users, you actually have to go one folder deeper than Profiles, btw.) Very much appreciated.

more options

Profiles is the main folder that stores profiles.ini and possibly installs.in (profile registry) and profile folders with a random name that store the actual profile data.

From what other drop-down menus do you want to remove the favicons as the code posted above will only have effect for the Bookmarks Toolbar (#personal-bookmarks).

more options

Ah, thanks for clarifying. I have a couple folders in/on the Toolbar. The bookmarks stored in those still have the favicons. They're less visible and thus less bothersome than the ones in the Toolbar, so not really a problem. (If, however, you'd like to offer that code as well, by all means.) If my remarks about Mac Users going one deeper than profiles were confusing, here's what I mean. The following is how I got to where I created the chrome folder and userChrome.css file. Users > [MyVolume] > Library > Application Support > Firefox > Profiles > [one randomly numbered folder holding all the Profiles files]

由Phin于修改

more options

If you aren't seeing any favicons on the Bookmarks Toolbar (i.e. not even the generic globe) then you might be using code in userChrome.css to hide these favicons.

more options

Helpful link. Again, much appreciated.