jlesage / docker-firefox

Docker container for Firefox
MIT License
1.61k stars 288 forks source link

Unable to set firefox preferences via ENV #59

Closed lekt9 closed 4 years ago

lekt9 commented 4 years ago

I've been trying to set up the browser such that it functions as a private browser, using this variable: browser.privatebrowsing.autostart

I've tried FF_PREF_BROWSER_PRIVATEBROWSING_AUTOSTART=TRUE , FF_PREF_BROWSER.PRIVATEBROWSING.AUTOSTART=TRUE, and BROWSER.PRIVATEBROWSING.AUTOSTART=TRUE

but none of these environment variables seem to trigger the script that enables this setting in Firefox.

jlesage commented 4 years ago

You should try using something like this:

FF_PREF_PRIVATE_BROWSING=browser.privatebrowsing.autostart=true
lekt9 commented 4 years ago

Alright, thanks a lot! Should have been more thorough.