Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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 svar
  • 3 har dette problemet
  • 12 views
  • Siste svar av 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

Endret av 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:

Endret av cor-el