搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to start in safe mode without prompt?

  • 4 回覆
  • 3 有這個問題
  • 2 次檢視
  • 最近回覆由 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?
附加的畫面擷圖

由 tomfirefox 於 修改

所有回覆 (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:

由 cor-el 於 修改