-diff -ur mozilla.orig/browser/app/profile/firefox.js mozilla/browser/app/profile/firefox.js
---- mozilla.orig/browser/app/profile/firefox.js 2008-06-21 12:55:30.000000000 +0200
-+++ mozilla/browser/app/profile/firefox.js 2008-06-21 15:25:48.000000000 +0200
-@@ -94,7 +94,7 @@ pref("extensions.hotfix.certs.1.sha1Fingerprint", "F1:DB:F9:6A:7B:B8:04:FA:48:3C
+--- firefox-66.0.3/browser/app/profile/firefox.js.orig 2019-04-09 21:59:43.000000000 +0200
++++ firefox-66.0.3/browser/app/profile/firefox.js 2019-04-22 16:01:43.348625457 +0200
+@@ -53,7 +53,7 @@
// Disable add-ons that are not installed by the user in all scopes by default.
// See the SCOPE constants in AddonManager.jsm for values to use here.
-pref("extensions.autoDisableScopes", 15);
+pref("extensions.autoDisableScopes", 3);
+ // Scopes to scan for changes at startup.
+ pref("extensions.startupScanScopes", 0);
- // Dictionary download preference
- pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
-@@ -157,12 +157,12 @@
- pref("app.update.certs.2.commonName", "aus3.mozilla.org");
+@@ -140,7 +140,7 @@
+ // should no longer be used directly. Instead, getAppUpdateAutoEnabled and
+ // getAppUpdateAutoEnabled from UpdateUtils.jsm should be used.
+ #ifndef XP_WIN
+- pref("app.update.auto", true);
++ pref("app.update.auto", false);
+ #endif
- // Whether or not app updates are enabled
--pref("app.update.enabled", true);
-+pref("app.update.enabled", false);
-
- // This preference turns on app.update.mode and allows automatic download and
- // install to take place. We use a separate boolean toggle for this to make
- // the UI easier to construct.
--pref("app.update.auto", true);
-+pref("app.update.auto", false);
-
- // Defines how the Application Update Service notifies the user about updates:
- //
-@@ -252,7 +252,7 @@
- pref("general.useragent.complexOverride.moodle", false); // bug 797703
+ // If set to true, the Update Service will present no UI for any event.
+@@ -227,7 +227,7 @@
+ pref("browser.touchmode.auto", true);
// At startup, check if we're the default browser and prompt user if not.
-pref("browser.shell.checkDefaultBrowser", true);
+pref("browser.shell.checkDefaultBrowser", false);
pref("browser.shell.shortcutFavicons",true);
-
- // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
-@@ -448,6 +448,8 @@
- // 0: no backups created (and deletes all existing backups)
- pref("browser.bookmarks.max_backups", 10);
+ pref("browser.shell.mostRecentDateSetAsDefault", "");
+ pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true);
+@@ -501,6 +501,8 @@
+ // Whether menu should close after Ctrl-click, middle-click, etc.
+ pref("browser.bookmarks.openInTabClosesMenu", true);
+pref("intl.locale.matchOS", true);
+
// Scripts & Windows prefs
pref("dom.disable_open_during_load", true);
pref("javascript.options.showInConsole", true);
-@@ -574,7 +576,7 @@
- pref("alerts.totalOpenTime", 4000);
+@@ -646,7 +648,7 @@
+ pref("mousewheel.with_control.action",3);
+ pref("mousewheel.with_win.action", 1);
- pref("browser.xul.error_pages.enabled", true);
-pref("browser.xul.error_pages.expert_bad_cert", false);
+pref("browser.xul.error_pages.expert_bad_cert", true);
+ pref("browser.xul.error_pages.show_safe_browsing_details_on_load", false);
- // Work Offline is best manually managed by the user.
- pref("network.manage-offline-status", false);
-diff -ur mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd mozilla/browser/locales/en-US/chrome/overrides/netError.dtd
---- mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd 2008-06-21 12:55:30.000000000 +0200
-+++ mozilla/browser/locales/en-US/chrome/overrides/netError.dtd 2008-06-22 13:52:26.000000000 +0200
-@@ -175,6 +175,6 @@
- <!ENTITY securityOverride.warningContent "
- <p>You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.</p>
-
--<button id='getMeOutOfHereButton'>&securityOverride.getMeOutOfHereButton;</button>
- <button id='exceptionDialogButton'>&securityOverride.exceptionButtonLabel;</button>
-+<button id='getMeOutOfHereButton'>&securityOverride.getMeOutOfHereButton;</button>
- ">
+ // Enable captive portal detection.
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1510,7 +1510,7 @@ pref("layout.css.visited_links_enabled", true);