From f4dc7ded61079a8d564bd804fad00a7f4f904319 Mon Sep 17 00:00:00 2001 From: BobIsMyManager Date: Thu, 21 Jul 2022 21:30:46 +0100 Subject: WIP: Optimization, resolve incorrect protocol storage, unified protocol settings... Optmizations still throw a lot of errors, this will be resolved Custom instances of previously unused protocols do not save, this will be resolved Track version number locally for easier config migration in the future --- src/pages/background/background.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/pages/background') diff --git a/src/pages/background/background.js b/src/pages/background/background.js index fd7b5dcf..293a2c84 100644 --- a/src/pages/background/background.js +++ b/src/pages/background/background.js @@ -259,3 +259,5 @@ browser.runtime.onMessage.addListener((message, sender, sendResponse) => { if (message.function === 'unify') utils.unify(false).then(r => sendResponse({ response: r })) return true; }); + +browser.storage.local.set({"version": browser.runtime.getManifest().version}) -- cgit 1.4.1