From 348d3e85781765fd3a59671c7bc1c7cf96f17d6f Mon Sep 17 00:00:00 2001 From: David Ralph Date: Wed, 26 Aug 2020 15:39:16 +0100 Subject: [PATCH] 4.0.1 --- manifest/background-chrome.js | 1 + manifest/chrome.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 manifest/background-chrome.js 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