How can i change about:config file ? where is it saved ?
I see that it is impossible to start private browsing and navigate url in this private browsing programmaticaly.
So it seems like this may be a solution for me.
Which file does hold about:config ? So i can change it to start private browsing as default with a software and when done revert it to back.
Thanks.
被采纳的解决方案
所有回复 (2)
选择的解决方案
It might be this setting:
browser.privatebrowsing.autostart
Try setting it to true.
Prefs that do not have the default value have their modified value stored in the prefs.js file in the Firefox profile folder.
You can create a user.js file with this line to make Firefox start in Private Browsing mode.
- user_pref("browser.privatebrowsing.autostart", true);
Firefox read the user.js file on every start, so as long as this file is present then Firefox will start in Private Browsing mode.
You can either move (copy) or rename this file to enable and disable it.