Recent answers to How to enable private mode from commandline, with an URL. I am a software dev and I wish to have my application open links in Firefox. Using ShellExecute(), i chttps://support.mozilla.org/en-US/questions/9252982012-04-15T07:48:48-07:00Try to set the browser.privatebrowsing.dont_prompt_on_enter pref to true on the about:config page.
T2012-04-15T07:48:48-07:00cor-elhttps://support.mozilla.org/en-US/questions/925298#answer-326211<p>Try to set the browser.privatebrowsing.dont_prompt_on_enter pref to true on the about:config page.<br>
That seems to work.
</p>
<ul><li><a href="http://kb.mozillazine.org/about:config" rel="nofollow">http://kb.mozillazine.org/about:config</a>
</li></ul>Ya, I tried -url and using quotes and -new-tab.
Same results.
I guess it just isn't something Firefo2012-04-15T05:56:37-07:00CRasterImagehttps://support.mozilla.org/en-US/questions/925298#answer-326202<p>Ya, I tried -url and using quotes and -new-tab.
Same results.
</p><p>I guess it just isn't something Firefox can do.
Thanks.
</p>It will never work if Firefox is already running as Firefox will use the already opened Firefox inst2012-04-15T03:22:19-07:00cor-elhttps://support.mozilla.org/en-US/questions/925298#answer-326161<p>It will never work if Firefox is already running as Firefox will use the already opened Firefox instance.<br>
In that case only using a separate profile will work.
</p><p>You can try to specify the -url switch as well.
</p>
<ul><li>firefox.exe -private -url http://support.mozilla<i></i>.org
</li></ul>
<p>You can also look at the -new-tab switch.
</p>
<ul><li>firefox.exe -private -new-tab http://support.mozilla<i></i>.org
</li><li><a href="https://developer.mozilla.org/en/Command_Line_Options" rel="nofollow">https://developer.mozilla.org/en/Command_Line_Options</a>
</li></ul>