diff --git a/chromium/background.js b/chromium/background.js index 625cbd8a64d2..1f231b86d212 100644 --- a/chromium/background.js +++ b/chromium/background.js @@ -30,15 +30,15 @@ initialize(); * isExtensionEnabled: Boolean * } */ -var httpNowhereOn = false; -var showCounter = true; +var httpNowhereOn = true; +var showCounter = false; var isExtensionEnabled = true; function initializeStoredGlobals(){ return new Promise(resolve => { store.get({ - httpNowhere: false, - showCounter: true, + httpNowhere: true, + showCounter: false, globalEnabled: true, enableMixedRulesets: false }, function(item) { diff --git a/chromium/popup.js b/chromium/popup.js index f9a9aa88c638..2319337fc5b2 100644 --- a/chromium/popup.js +++ b/chromium/popup.js @@ -108,7 +108,7 @@ function appendRuleLineToListDiv(ruleset, list_div, tab_id) { function showHttpNowhereUI() { // Set up checkbox for HTTP nowhere mode - getOption_('httpNowhere', false, function(item) { + getOption_('httpNowhere', true, function(item) { if (item.httpNowhere) { e('http-nowhere-checkbox').checked = true; } @@ -249,7 +249,7 @@ function addManualRule() { } function toggleHttpNowhere() { - getOption_('httpNowhere', false, function(item) { + getOption_('httpNowhere', true, function(item) { setOption_('httpNowhere', !item.httpNowhere); }); }