Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Open external links in private-window

  • 4 odpowiedzi
  • 2 osoby mają ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od Yaron

more options

On Windows, Firefox adds a pre-set command line to the Windows registry under

   HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command
   HKEY_CLASSES_ROOT\FirefoxURL\shell\open\command 

If you change the -url in the command line to -private-window -- from

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url "%1"

to

"C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -private-window "%1"

-- then all external links launch in a private window.


jscher2000 in https://support.mozilla.org/en-US/questions/1119073

This no longer works in FF 69. As soon as I modify "HKEY_CLASSES_ROOT\FirefoxURL-F66A7FFE1BF331E2\shell\open\command", FF is detecting it and changes its status to "NOT your default browser".

I'd appreciate your help.

On Windows, Firefox adds a pre-set command line to the Windows registry under HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\command HKEY_CLASSES_ROOT\FirefoxURL\shell\open\command If you change the -url in the command line to -private-window -- from "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url "%1" to "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -private-window "%1" -- then all external links launch in a private window. --------- jscher2000 in https://support.mozilla.org/en-US/questions/1119073 This no longer works in FF 69. As soon as I modify "HKEY_CLASSES_ROOT\FirefoxURL-F66A7FFE1BF331E2\shell\open\command", FF is detecting it and changes its status to "NOT your default browser". I'd appreciate your help.

Zmodyfikowany przez Yaron w dniu

Wybrane rozwiązanie

@radar81,

Yes, I've found a solution.

Use:

[HKEY_CLASSES_ROOT\FirefoxHTML-F66A7FFE1BF441E2\shell\open\command] @="\"C:\\Program Files\\Mozilla Firefox New\\firefox.exe\" -private-window \"%1\""

[HKEY_CLASSES_ROOT\FirefoxURL-F66A7FFE1BF441E2\shell\open\command] @="\"C:\\Program Files\\Mozilla Firefox New\\firefox.exe\" -private-window \"%1\""

Replace the path and "-F66A7FFE1BF441E2" with your strings.

The status in FF preferences will change to "NOT your default browser" but *it will actually remain the default browser*.

Regards.

Przeczytaj tę odpowiedź w całym kontekście 👍 1

Wszystkie odpowiedzi (4)

more options

I am also wanting to do set external links to launch in a private window by default. I also tried the same solution proposed by jscher2000 in https://support.mozilla.org/en-US/questions/1119073 and found that it no longer works. Were you able to find a solution? Thanks!

more options

Wybrane rozwiązanie

@radar81,

Yes, I've found a solution.

Use:

[HKEY_CLASSES_ROOT\FirefoxHTML-F66A7FFE1BF441E2\shell\open\command] @="\"C:\\Program Files\\Mozilla Firefox New\\firefox.exe\" -private-window \"%1\""

[HKEY_CLASSES_ROOT\FirefoxURL-F66A7FFE1BF441E2\shell\open\command] @="\"C:\\Program Files\\Mozilla Firefox New\\firefox.exe\" -private-window \"%1\""

Replace the path and "-F66A7FFE1BF441E2" with your strings.

The status in FF preferences will change to "NOT your default browser" but *it will actually remain the default browser*.

Regards.

Zmodyfikowany przez Yaron w dniu

more options

@Yaron It works, thanks so much!

more options

You're welcome.