搜尋 Mozilla 技術支援網站

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

了解更多

New Tab Page, add a remove option for search bar

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

more options

i have the chrome folder and put in the userContent.css file with these 3 files saved as all files.

 /* Disable Search box in New Tab page */
@-moz-document url(about:newtab)
{
#newtab-search-container, #newtab-search-logo { display:none !important; }
}

@-moz-document url(about:newtab){
 #newtab-margin-top, #newtab-search-container { display:none!important; }
}

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url("about:newtab") {
#newtab-search-container {
display: none !important;
}
}
but got no results. but if i go to the developer style editor i can get it to work.

any ideas?

how about firefox just make it simple in a patch with a option to turn it off!

i have the chrome folder and put in the userContent.css file with these 3 files saved as all files. <pre><nowiki> /* Disable Search box in New Tab page */ @-moz-document url(about:newtab) { #newtab-search-container, #newtab-search-logo { display:none !important; } } @-moz-document url(about:newtab){ #newtab-margin-top, #newtab-search-container { display:none!important; } } @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url("about:newtab") { #newtab-search-container { display: none !important; } } </nowiki></pre> but got no results. but if i go to the developer style editor i can get it to work. any ideas? how about firefox just make it simple in a patch with a option to turn it off!

由 cor-el 於 修改

所有回覆 (3)

more options

heres my screenshot of it in developer

more options
more options

A common cause for such a problem is that you have created a userContent.css.txt with a hidden .txt file extension. You can check the type via the right-click context menu in the Properties .