This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 3 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by zeroknight

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 :)

All Replies (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>