Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How to change Windows short cut to open private browsing?

  • 11 ответов
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от cor-el

more options

I would like to change the short cut "C:\Program Files\Mozilla Firefox\firefox.exe" to open Firefox in private browsing mode all the time. Though "firefox -private-window" works when I do it on Run (Windows + R), I would like to be able to open Firefox by clicking a short cut.

I would like to change the short cut "C:\Program Files\Mozilla Firefox\firefox.exe" to open Firefox in private browsing mode all the time. Though "firefox -private-window" works when I do it on Run (Windows + R), I would like to be able to open Firefox by clicking a short cut.
Приложенные скриншоты

Выбранное решение

The -private-window switch needs to be outside the quotes that surround the path to the Firefox program.

  • "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window
Прочитайте этот ответ в контексте 👍 3

Все ответы (11)

more options

You can append -private-window to the target field in the shortcut, leave a space as a separator before the command.

more options

I have tried "C:\Program Files\Mozilla Firefox\firefox.exe -private-window". When I click on on Apply, it comes up with error.

more options

Выбранное решение

The -private-window switch needs to be outside the quotes that surround the path to the Firefox program.

  • "C:\Program Files\Mozilla Firefox\firefox.exe" -private-window
more options

Thanks! It works.

more options

By the way, how can I have the Firefox always opened in private browsing mode when I click on a hyperlink on email or other document?

more options

You can use an extension to get Private Browsing mode support per tab.

This extension supports this feature via a pref that you can inspect and modify on the about:config page.

  • extensions.privateTab.allowOpenExternalLinksInPrivateTabs

There are more choices that you can set via prefs.

more options

What is the difference between setting browser.privatebrowsing.autostart and setting the short cut with -private-window?

more options

I don't think that there is much difference, but if the startup pref is set then you always start in PB mode with that profile, so this should work with external links as well. External links are started via the command as set in the Windows registry for that file extension and that command doesn't include the -private-window command line switch.

more options

It sounds like the autostart which is much simpler will do everything, saving the change of commandline shortcut and adding of extension altogether.

more options

Is it correct that the private browsing mode won't bring up the home page?

more options

In PB mode you may be getting the about:privatebrowsing page instead of the home page. You can click the toolbar home button to open the home page.