diff --git a/manifest/background-chrome.js b/manifest/background-chrome.js new file mode 100644 index 00000000..566c3ff8 --- /dev/null +++ b/manifest/background-chrome.js @@ -0,0 +1 @@ +chrome.runtime.onInstalled.addListener((details) => localStorage.clear()); \ No newline at end of file diff --git a/manifest/chrome.json b/manifest/chrome.json index 2bd7a9eb..9fba42bd 100644 --- a/manifest/chrome.json +++ b/manifest/chrome.json @@ -14,5 +14,8 @@ "16": "./icons/16x16-circle.png", "48": "./icons/48x48-circle.png", "128": "./icons/128x128-circle.png" - } + }, + "background": { + "scripts": ["background-chrome.js"] + } } \ No newline at end of file