Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

Change default color of Firefox when opening links in a new tab

  • 5 个回答
  • 7 人有此问题
  • 1 次查看
  • 最后回复者为 alirezanoori

more options

I'm using Stylish addon for Firefox with a default dark css. I also have changed the default Window colors in Windows registry. This has changed the about:blank page's color to a dark one. But when I open a link on a new tab, before the page loads, Firefox is showing a blank page with white background. I wonder how can I change this white color to a different one.

I'm using Stylish addon for Firefox with a default dark css. I also have changed the default Window colors in Windows registry. This has changed the about:blank page's color to a dark one. But when I open a link on a new tab, before the page loads, Firefox is showing a blank page with white background. I wonder how can I change this white color to a different one.

被采纳的解决方案

See also the discussion in this old MozillaZine forum thread.

定位到答案原位置 👍 1

所有回复 (5)

more options

Try to style the about:newtab page with this selector.


@-moz-document url(about:newtab){
#newtab-scrollbox { background-image: none !important; background-color: #ffc !important; }
}

由cor-el于修改

more options

Sorry to say, but it didn't help. My new tab page already has a dark background. What I what is to change the "White" color when I "Ctrl+Click" on a link or select to open it in new tab and immediately switch to it before it loads. When I add a new tab, it has a dark background.

more options

One way you can do that if you are using a third party theme is to add this line into the browser.css file in the browser subdirectory in the .jar file.

browser {background: blue;}

Change the colour to whatever you like, then put the revised browser.css file back into the archive and reinstall the theme.

more options

选择的解决方案

See also the discussion in this old MozillaZine forum thread.

more options

I created a folder named "Chrome" in this location: C:\Users\[user]\AppData\Roaming\Mozilla\Firefox\Profiles\[profile]\

and created an empty userChrome.css file with this line:

browser { background-color: #373739 !important; }

It worked fine. Thanks for the replies.

由alirezanoori于修改