Skip to content

Commit

Permalink
firefox: Show advanced cert settings by default
Browse files Browse the repository at this point in the history
Also made a note about the user.js file not updating right when doing
a symlink
  • Loading branch information
vrillusions committed Jul 15, 2016
1 parent 8aa516b commit 95b5bc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions createlinks.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ mklink _gvimrc "dotfiles\gvimrc"
REM directory doesn't need a hard link
mklink /D .vim "dotfiles\vim"
echo Additionally you can add firefox's user.js (currently not handled by
echo script as the profile folder is unique)
echo script as the profile folder is unique). Note I had to use /H to make
echo it a hard link for firefox to pick it up.
echo.
echo Example:
echo cd %APPDATA%\Mozilla\Firefox\Profiles\ohrei0i4.default
echo mklink user.js %USERPROFILE%\dotfiles\share\firefox\user.js
echo mklink /H user.js %USERPROFILE%\dotfiles\share\firefox\user.js
pause
5 changes: 5 additions & 0 deletions share/firefox/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ user_pref("network.cookie.lifetimePolicy", 2);
// them to be session cookies
user_pref("network.cookie.thirdparty.sessionOnly", true);

// These both make allowing self signed certs a little easier and prepopulates the accept
// dialog with url
user_pref("browser.xul.error_pages.expert_bad_cert", true);
user_pref("browser.ssl_override_behavior", 2);

// Privacy / resource usage preferences

Expand Down Expand Up @@ -63,6 +67,7 @@ user_pref("plugin.state.flash", 1);
// Don't use new tab page
user_pref("browser.newtabpage.enabled", false);
user_pref("browser.newtabpage.enhanced", false);
user_pref("browser.newtab.preload", false);

// Set default home page
user_pref("browser.startup.homepage", "https://www.google.com");
Expand Down

0 comments on commit 95b5bc4

Please sign in to comment.