This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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 to start in safe mode without prompt?

  • 4 majibu
  • 3 wana tatizo hili
  • 2 views
  • Last reply by cor-el

more options

I'm testing a website I'm developing and I'm opening Firefox in Safe Mode using a batch file with this command, which works:

"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window -safe-mode "https://localhost/myWebsite"

However, there is a confirmation prompt window that appears each time I do this. How do I suppress the confirmation prompt window?

I'm testing a website I'm developing and I'm opening Firefox in Safe Mode using a batch file with this command, which works: "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window -safe-mode "https://localhost/myWebsite" However, there is a confirmation prompt window that appears each time I do this. How do I suppress the confirmation prompt window?
Attached screenshots

Modified by tomfirefox

All Replies (4)

more options

Why do you need Safe Mode?

Could you possibly use a new clean profile instead without installed extensions for testing?

You can add -no-remote to the command line to open another Firefox instance with its own profile and run multiple Firefox instances simultaneously.

more options

I don't need to get into the various reasons why I wish to start this in SafeMode. I simply want to know how to suppress the prompt. How do I suppress the prompt?

more options

By suppressing the prompt, you will also disable Safe Mode altogether   .......  and that's not what you want, is it  ?

In   'about:config'   -   preference  :   'toolkit.startup.max_resumed_crashes' :   you can set the value to   -1 (minus one)  

more options

Are you starting Firefox with the -safe-mode command line switch?

You can't suppress that prompt when you start Firefox that way. You can look at the Safe Mode startup code in this file to see how it works:

Modified by cor-el