How to remove the search bar from Firefox’s New Tab Page


If you are running at least Firefox 31 -- which means Beta, Aurora or Nightly -- then you may have noticed a change to the new tab page of the browser.

Previously, nine webpage thumbnails were displayed on the page to provide users with quick access to often visited or pinned sites.

As you may know, Firefox uses the browsing history to populate the list by default but gives you control over it so that you can remove any site listed here and replace it with sites that you prefer to see.

Since you can pin sites on the page, you can make sure that your favorite websites are always listed on the page.

Anyway, with the change came the addition of a search form on it. The search form uses the default search provider of the browser which is Google Search unless you have modified it and changed it to a different provider instead.

firefox new tab page

While some users may appreciate the search on the page, others may see it as redundant especially if they display the search bar in the browser's interface.

There is no direct option to remove search from Firefox's new tab page, but as always, there are hacks that you can make use of.

The following requires no third-party add-ons:

  1. Type about:support in Firefox's address bar and hit enter.
  2. Click on the Show Folder button to open the profile folder.
  3. Switch to the Chrome subdirectory here. If it does not exist, create it.
  4. Open userContent.css. If it does not exist, create a new plain text document and rename it accordingly.
  5. Paste the following information into the file and save it afterwards

@namespace url(;
@-moz-document url("about:newtab") {
#newtab-search-container {
display: none !important;

Restart the Firefox web browser afterwards. When you open the new tab page in the browser now, the search form is no longer displayed on it.

firefox no search

To undo the change, delete the information in the userContent.css file again and restart Firefox afterwards.

Instead of modifying the userContent.css file you can alternatively install a new tab page add-on. Here is a selection of extensions:

  • Speed Dial [FVD] - The extension has a lot to offer. From displaying different information on the new tab page such as recently closed or most visited sites to synchronization and options to block urls or domains that you don't want to see listed on it.
  • Moment - A minimalistic new tab page that displays the current time and weather information on the page.
  • New Tab Tools - Uses the full width of the page to display as many website thumbnails as possible. Adds a sidebar with direct links to Firefox internal pages such as downloads, sync, settings or add-ons.
Article Name
How to remove the search bar from Firefox's New Tab Page
The guide makes available CSS code to remove the search bar on the Firefox browser's New Tab Page that Mozilla introduced in Firefox 31.
Please share this article



Responses to How to remove the search bar from Firefox’s New Tab Page

  1. nonqu June 18, 2014 at 10:12 am #

    You can also add this to a new style if you are using Stylish. I have more UI fixes there than website enhancements.

    The main advantage is that it's easy to track and synchronize between browsers. And if Mozilla break something (which they undoubtedly will do) you can easily disable or modify the style.

  2. Ray June 18, 2014 at 5:54 pm #

    Meh, I've disabled the thumbnails whenever a new tab is opened so this doesn't apply to me :)

    If you're interested, change browser.newtabpage.enabled to false in about:config.

  3. Jay June 18, 2014 at 5:55 pm #

    Happy to say that (thanks to this blog), I am now using Pale Moon and life couldn't be better.

  4. mma173 June 18, 2014 at 5:57 pm #

    This one is my favorite.

  5. Robbie Hatley June 25, 2014 at 8:49 am #

    Excellent! Yes, THIS fix works. (Unlike several other fixes for this bug which I've seen posted on the web, generally involving a file called "userChrome.css", which does absolutely nothing and does not fix the bug.)

    I just noticed the "new search bar wipes out a third of my thumbnails on NewTabPage" bug tonight, but on reading about it, it's been around for at least a month.

    Some bugs are hardware, some firmware, some software, some wetware. THIS bug, however, appears to be a "CorpWare" bug, in that it was done to us on-purpose by Mozilla as blatant social engineering, in order to increase traffic to Google, because Google gives CA$H to Mozilla in exchange for incorporating "Google Search" in as many places in Firefox as possible. And unfortunately, CA$H now obviously trumps usability in the minds of Mozilla executives. Some turn-around at the top levels, replacing greed-corrupted execs with functionality-minded execs may reduce instances this type of bug in the future.

  6. David July 23, 2014 at 2:55 pm #

    I just got the upgrade to FF 31 (Linux Mint 13 LTS) - got annoyed immediately - found this fix. It works! :) Many thanks!

  7. Jason July 31, 2014 at 4:52 am #

    Why do we need a search bar under the search bar, and that takes up a ridiculous amount of room? Was this designed by idiots for idiots?

  8. Ian August 1, 2014 at 10:06 am #

    I agree with Jason. Why is it that every update to Firefox brings with it idiotic changes that need to be manually removed?

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

  9. Oleg August 18, 2014 at 1:52 pm #

    "#newtab-margin-undo-container," can add 1 row.
    @-moz-document url("about:newtab") {
    #newtab-margin-undo-container, #newtab-margin-top, #newtab-search-container, #newtab-margin-bottom { display: none !important; }

    Try for modify size thumbnails:
    @-moz-document url("about:newtab") {
    #newtab-grid {height: 650px !important; max-height: 650px !important; }
    .newtab-cell {height: 9% !important; width: 13% !important; }

    For modify color, if thumbnails have small contrast:
    @-moz-document url("about:newtab") {
    .newtab-title { color:black !important; }
    #newtab-grid { height: 800px !important; max-height: 800px !important; background-color: #bbb; }

    @namespace url(;
    @-moz-document url("about:newtab") {
    #newtab-margin-undo-container, #newtab-margin-top, #newtab-search-container, #newtab-margin-bottom { display: none !important; }
    #newtab-grid { height: 800px !important; max-height: 800px !important; background-color: #bbb; }
    .newtab-title { color:black !important; }
    .newtab-cell {height: 11% !important; width: 13% !important; }

    Many thanks!

Leave a Reply