搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how to change the background of new tab

  • 3 回覆
  • 13 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

the background of the new tabs is white. i want to change it to the picture of my persona. is that possibles !!?? if yes than how? if not than why not!?

the background of the new tabs is white. i want to change it to the picture of my persona. is that possibles !!?? if yes than how? if not than why not!?

所有回覆 (3)

more options

at the moment you'd have to do this manually: http://mozillalinks.org/2012/06/wallpaper-your-firefox-new-tab-page

more options

i tried doing that but it doesnt work!!!! am i missing something!?

more options

Where is the image file located?

Can you post the full content of the code that you used?

Did you use Stylish or placed the code in userChrome.css file below the default @namespace line?

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


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

/* Set a wallpaper for the about:newtab page*/ @-moz-document url("about:newtab") {

#newtab-scrollbox{
 background: url("file:///c:/machu.jpg") no-repeat !important ;
 background-size: 100% !important;
}

}

由 cor-el 於 修改