Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do i remove the user.js file so mozilla opens in search mode

  • 1 reply
  • 2 have this problem
  • 2 views
  • Last reply by cor-el

more options

something happened and now every time I open mozilla it opens the last web site I was on. I read that there is a user.js file that was created. I did not create anything and want it all removed or I won't be able to use mozilla. I don't know how to remove the user.js file please help in non technical terms

something happened and now every time I open mozilla it opens the last web site I was on. I read that there is a user.js file that was created. I did not create anything and want it all removed or I won't be able to use mozilla. I don't know how to remove the user.js file please help in non technical terms

All Replies (1)

more options

If you had included your troubleshooting information then could have seen if the user.js file is present because that information is included.

You can check that on the about:support page.


You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

Windows hides some file extensions by default. Among them are .html and .ini and .js and .txt, so you may only see the User file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.


The user.js file is only present if you or other software has created this file and normally it wouldn't be there. You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.

The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.