搜索 | 用户支持

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

详细了解

How do I delete the bookmark icons on Firefox 22 (Windows)

  • 3 个回答
  • 5 人有此问题
  • 18 次查看
  • 最后回复者为 gggirlgeek

more options

I used to have the bookmark de-iconizer add-on take care of those icons, but apparently the add-on is no longer compatible with the latest FF release. I'm using Firefox 22 on a Windows 7 platform. I found threads suggesting edits to the userChrome.css file for a similar problem on Mac based platforms, but I'm not quite sure on how I should proceed if I'm using a PC with Windows on it

I used to have the bookmark de-iconizer add-on take care of those icons, but apparently the add-on is no longer compatible with the latest FF release. I'm using Firefox 22 on a Windows 7 platform. I found threads suggesting edits to the userChrome.css file for a similar problem on Mac based platforms, but I'm not quite sure on how I should proceed if I'm using a PC with Windows on it

被采纳的解决方案

It's much simpler to use the Stylish extension instead of userChrome.css.

After installing it, open the Add-ons Manager, User Styles cateogory. Click the Write a New Style link at top. Paste your CSS code there, and click the Preview button to see what the changes look like. Click the Save button if you're happy with the result.

If you only want to remove icons from the Bookmarks Toolbar — which is what the Bookmarks Deiconizer extension used to do — then this is the CSS code to use:


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

#PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon {
  display: none !important;
}

#PlacesToolbarItems > .bookmark-item > .toolbarbutton-menu-dropmarker {
  display: -moz-box !important;
}

If you insist on userChrome.css instead of Stylish, see the instructions below.

Keep in mind the following:

  • The file name is case-sensitive: userChrome.css
  • The file extension is .css — you may need to display file extensions in Windows to avoid naming it .css.txt by accident.
  • Firefox must be restarted for changes in userChrome.css to take effect.
定位到答案原位置 👍 3

所有回复 (3)

more options

选择的解决方案

It's much simpler to use the Stylish extension instead of userChrome.css.

After installing it, open the Add-ons Manager, User Styles cateogory. Click the Write a New Style link at top. Paste your CSS code there, and click the Preview button to see what the changes look like. Click the Save button if you're happy with the result.

If you only want to remove icons from the Bookmarks Toolbar — which is what the Bookmarks Deiconizer extension used to do — then this is the CSS code to use:


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

#PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon {
  display: none !important;
}

#PlacesToolbarItems > .bookmark-item > .toolbarbutton-menu-dropmarker {
  display: -moz-box !important;
}

If you insist on userChrome.css instead of Stylish, see the instructions below.

Keep in mind the following:

  • The file name is case-sensitive: userChrome.css
  • The file extension is .css — you may need to display file extensions in Windows to avoid naming it .css.txt by accident.
  • Firefox must be restarted for changes in userChrome.css to take effect.

由Gingerbread Man于修改

more options

I wasn't aware of that particular extension. I got the extension, used your code, and I added some margins on either side.. and it was perfect!

Thanks!

more options

Gingerbread_man's script did not work for me but this one did (from here: http://forums.mozillazine.org/viewtopic.php?f=38&t=675505&start=0&st=0&sk=t&sd=a.)


___________________________________________________

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

____________________________________________________

Note: I am using Firefox 16 and Palemoon 12 though.

由gggirlgeek于修改