From: Mike Frysinger Date: Tue, 29 Jan 2013 21:25:14 +0000 (-0500) Subject: use non-persistent background page X-Git-Tag: v1.5.0~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e70bcd55897cb58bc2f632a46f6e88827dcdb04a;p=chrome-ext%2Fclearhistory-advance-fork.git use non-persistent background page --- diff --git a/javascript/options.js b/javascript/options.js index a3f3b01..682347b 100644 --- a/javascript/options.js +++ b/javascript/options.js @@ -7,9 +7,6 @@ window.addEventListener('load', init, false); -//Get the constants from the background page -var CONSTANTS = chrome.extension.getBackgroundPage().CONSTANTS; - /** * Initializes the i18n strings. * Loads values from localStorage and applies them to the elements diff --git a/manifest.json b/manifest.json index de75f53..a4ff4ff 100644 --- a/manifest.json +++ b/manifest.json @@ -13,6 +13,7 @@ "https://*/*" ], "background": { + "persistent": false, "scripts": [ "javascript/background.js", "javascript/util.js", diff --git a/views/options.html b/views/options.html index ad899fa..29de38a 100644 --- a/views/options.html +++ b/views/options.html @@ -71,6 +71,7 @@ +