Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Avatar for Username

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше
Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.
Архівовано

private-window command line option doesn't support multiple URLs

ponopaco

If I open a normal firefox window then run "firefox.exe -private-window mozilla.org google.com" it will open mozilla.org in a new private browser window and google.com in the existing standard browsing window. I have tried every combination of -private, -private-window, and -url that I can think of, but to no success.

I am happy to write a fix for this if you can confirm the defect and provide a bug number :)

If I open a normal firefox window then run "firefox.exe -private-window mozilla.org google.com" it will open mozilla.org in a new private browser window and google.com in the existing standard browsing window. I have tried every combination of -private, -private-window, and -url that I can think of, but to no success. I am happy to write a fix for this if you can confirm the defect and provide a bug number :)

Усі відповіді (3)

See:

You can use multiple firefox.exe -private-window <url> commands to open the URLs in the private window.

Змінено cor-el

Given that the command line supports multiple URLs, why doesn't private-window? Doesn't that seem like somewhat incorrect behavior?

The following works for me if Firefox is not already open:

firefox -private-window "" <url1> <url2>