Disable and remove the search box from the new tab page in Firefox

Mozilla released a new stable version of the Firefox browser for desktop (Windows, Mac and Linux) and mobile (Android) platforms. In desktop version of Firefox 31, there is a search box that has been added to the New Tab Page. But Firefox already has a dedicated search box. If you found the search box on the New Tab page redundant, you can remove it. Just follow these simple instructions.

To hide the search box from the new tab page, you need to create a special file called userContent.css and put it into the profile folder of Firefox.

  1. Open Firefox and press the ALT key on the keyboard.
  2.  The main menu will show. Go to Help ->Troubleshooting Information:
    troubleshooting info
  3. Under the "Application Basics" section, click the "Show Folder" button to open your profile folder:
    show folder button
  4. Create here a new folder called "Chrome" as shown below:
    the chrome folder
  5. Open the folder you just created and create a file here called userContent.css. You can create it with Notepad. Open Notepad and paste the following text:
    @-moz-document url(about:newtab){
    #newtab-margin-top, #newtab-search-container 
    { display: none !important; }

    Now select File -> Save menu item and type "userContent.css" in the file name box with quotes and save it in the folder you created above.
    userContent css file

  6. Now restart your Firefox browser and open the new tab page. The Search box would have disappeared.

That's it. The solution comes straight from the official support forum of Mozilla Firefox.

6 thoughts on “Disable and remove the search box from the new tab page in Firefox

  1. MDJ

    This leaves an empty space on the top. To fully remove this feature you can use New Tab Tools add-on.

    1. Sergey Tkachenko Post author

      Thanks. We will try it.

  2. anonymous

    awesome! your guide is so idiot proof and easy to follow. Thanks!

    1. Sergey Tkachenko Post author

      You are welcome

  3. J Palmer

    Gidday folks,

    Thanks for the perfect step by step. Saw a simialr solution eslewhere, but it didn’t work. Yours did!


  4. FirefoxUser23

    Though this article is old, it still works in 2016! I think I am on Firefox 38.5 or so. Great and easy to follow, thanks so much! Is there anyway to eliminate the space left at the bottom (not the top) of the page?


Leave a Reply

Your email address will not be published. Required fields are marked *