diff options
Diffstat (limited to 'scripts/firstrun/10-firefox/main')
-rw-r--r-- | scripts/firstrun/10-firefox/main | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/firstrun/10-firefox/main b/scripts/firstrun/10-firefox/main index 3f95169..de348df 100644 --- a/scripts/firstrun/10-firefox/main +++ b/scripts/firstrun/10-firefox/main @@ -155,3 +155,15 @@ sleep 2 \ # HTML5 for youtube #${FIREFOX} http://userscripts.org/scripts/source/105433.user.js ${FIREFOX} https://youtube.com/html5 + + +# get rid of accidental browser.zoom.full toggle-downs (tested just a bit) +su -c "cat >\"$(rpm -E '%{_libdir}')/firefox/browser/defaults/preferences/user-prefs.js\" <<-EOF + pref(\"general.config.obscure_value\", 0); + pref(\"general.config.filename\", \"../../../../../../../../../../../../proc/self/cwd/.mozilla/firefox/user-prefs.cfg\"); +EOF" -- root + +cat >~/.mozilla/firefox/user-prefs.cfg <<-EOF + // + lockPref("browser.zoom.full", true); +EOF |