Fungovanie tejto stránky je z dôvodu údržby dočasne obmedzené. Ak článok nevyrieši váš problém a chcete položiť otázku, napíšte našej komunite podpory na Twitter @FirefoxSupport alebo Reddit /r/firefox.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

command line option for a new private window

more options

What command line option(s) should I use to open several URLs as tabs in a NEW private browsing window. So, if a private browsing window is already open, a new window should be opened.

I've checked https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options /quote -private-window URL Open URL in a new private browsing window. If a private browsing window is already open, a new tab is opened in the existing window. /unquote Why can one open new private windows pressing ctrl-shft-P, and apparently not in a command line ?

What command line option(s) should I use to open several URLs as tabs in a NEW private browsing window. So, if a private browsing window is already open, a '''new window should be opened'''. I've checked https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options /quote -private-window URL Open URL in a new private browsing window. If a private browsing window is already open, a new tab is opened in the existing window. /unquote Why can one open new private windows pressing ctrl-shft-P, and apparently not in a command line ?

Všetky odpovede (1)

more options

If you use -private-window without a URL, you get the usual private window home page in the tab. That's the section just before the one you quoted.

That said, I think you have to do each tab separately. Let's assume your firefox.exe is at this location:

"C:\Program Files\Mozilla Firefox\firefox.exe"

You could use this batch file (save as "test.bat" in plain text format) to launch a new private window, then add 3 tabs:

@echo off
echo Opening a new private window
"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window
REM Firefox needs a moment before we send it tabs to open
timeout 1
echo Opening three private tabs
"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window "https://support.mozilla.org/"
"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window "https://addons.mozilla.org/"
"C:\Program Files\Mozilla Firefox\firefox.exe" -private-window "https://developer.mozilla.org"
echo Done!
pause