diff --git a/chromium/background-scripts/background.js b/chromium/background-scripts/background.js index 51cca78d0489..cbe1161e4b96 100644 --- a/chromium/background-scripts/background.js +++ b/chromium/background-scripts/background.js @@ -73,6 +73,11 @@ chrome.storage.onChanged.addListener(async function(changes, areaName) { isExtensionEnabled = changes.globalEnabled.newValue; updateState(); } + if ('enableMixedRulesets' in changes) { + // Don't require users to restart the browsers + rules.settings.enableMixedRulesets = changes.enableMixedRulesets.newValue; + initializeAllRules(); + } if ('debugging_rulesets' in changes) { initializeAllRules(); } diff --git a/chromium/pages/options/index.html b/chromium/pages/options/index.html index d8d72dc3fe06..4bca2a72c133 100644 --- a/chromium/pages/options/index.html +++ b/chromium/pages/options/index.html @@ -7,15 +7,21 @@