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

搜索 | 用户支持

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

详细了解

Set personal thumbnails in the 3x3 grid/ new tab view?

  • 6 个回答
  • 4 人有此问题
  • 10 次查看
  • 最后回复者为 cor-el

more options

Hi there,

is it possible to set personal thumbnails in the 3x3 grid/ new tab view? E.g. I doN't want the current facebook page to be shown as a thumbnail but a big blue facebook-logo.

Does anyone know about an Add on that's able to do that?

Thanks in advance.

Hi there, is it possible to set personal thumbnails in the 3x3 grid/ new tab view? E.g. I doN't want the current facebook page to be shown as a thumbnail but a big blue facebook-logo. Does anyone know about an Add on that's able to do that? Thanks in advance.

所有回复 (6)

more options

You should be able to do this with code in the userChrome.css file.


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 */

#newtab-window a.newtab-link[href*="facebook.com"] span.newtab-thumbnail{
 background-image: url("<path to image>")!important;
}

The customization files userChrome.css (interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

由cor-el于修改

more options

Sorry, I'm new to this.

I'm using ubuntu (12.04). I tried to search for the file

- find ~/ -type f -name "userChrome.css" - locate userChrome.css

Without any results. Where do I find the "userChrome.css" file?

Thanks in advance. Regards.

more options

The userChrome.css file doesn't exist by default.
You need to create a chrome folder in the Firefox profile folder and a plain text file called userChrome.css in that chrome folder.

more options

This extension will create the 3 "user" files for you, and gives you an interface within Firefox for editing those files.
http://webdesigns.ms11.net/chromeditp.html

more options

I installed it. But what do I have to do to create the 3 user files? I checked the checkbox where it says the "Open ChromeEdit in a Tab", but when I opened a tab there was no ChromeEdit. When I clicked on the "Open the Chrome folder"-Button, a windows opened and asked me to choose an application to open the chrome folder.

Could you please help me to modify firefox? Again, I'm new here .....and a little bit clueless here.......-.-

more options

Did you install the extension?

In that case you need to check the Tools menu or possibly its Web Developer sub menu to open ChromEdit.
Go to the userChrome.css tab and paste the code in the edit window.

Easiest is to place the images that you want to use in the same chrome folder where the userChrome.css resides because then you only need the file name and no path, but an absolute path or internet URL should work as well.


You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Open Directory