newmoon/palemoon-28.9.1-enable-addons.patch

30 lines
1.5 KiB
Diff
Raw Permalink Normal View History

--- a/palemoon/app/profile/palemoon.js 2021-04-24 00:07:36.000000000 +0300
+++ b/palemoon/app/profile/palemoon.js 2021-05-07 02:16:18.152591146 +0300
@@ -65,7 +65,8 @@
2017-02-10 22:48:28 +03:00
// 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", 0);
+pref("extensions.showMismatchUI", false);
// Dictionary download preference
2019-02-21 17:42:07 +03:00
pref("browser.dictionaries.download.url", "https://@AM_DOMAIN@/dictionaries/");
--- a/platform/toolkit/mozapps/extensions/internal/XPIProvider.jsm 2021-03-26 00:34:32.000000000 +0300
+++ b/platform/toolkit/mozapps/extensions/internal/XPIProvider.jsm 2021-05-07 02:16:18.155924479 +0300
@@ -2105,11 +2105,9 @@
2017-02-10 22:48:28 +03:00
AddonManagerPrivate.markProviderSafe(this);
- if (aAppChanged === undefined) {
- // For new profiles we will never need to show the add-on selection UI
- Services.prefs.setBoolPref(PREF_SHOWN_SELECTION_UI, true);
- }
- else if (aAppChanged && !this.allAppGlobal &&
+ // For all profiles we will never need to show the add-on selection UI
+ Services.prefs.setBoolPref(PREF_SHOWN_SELECTION_UI, true);
+ if (aAppChanged && !this.allAppGlobal &&
Preferences.get(PREF_EM_SHOW_MISMATCH_UI, true)) {
if (!Preferences.get(PREF_SHOWN_SELECTION_UI, false)) {
// Flip a flag to indicate that we interrupted startup with an interactive prompt