diff --git a/src/back.html b/src/back.html deleted file mode 100644 index 4ac628f..0000000 --- a/src/back.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/src/js/background/main.js b/src/js/background/main.js index 0b54cb1..0a5c00a 100644 --- a/src/js/background/main.js +++ b/src/js/background/main.js @@ -30,7 +30,6 @@ const {addRpcListener, sendRpcMessageResponse} = require("../rpc/host"); /** @global */ globalThis.cba = new CBA(); -//TODO: Use message passing to run the functions globalThis.cba.playButtonClick = playButtonClick; globalThis.cba.recordButtonClick = recordButtonClick; globalThis.cba.stopButtonClick = stopButtonClick; diff --git a/src/manifest.json b/src/manifest.json index 5037c11..286eb8d 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,7 @@ { "background": { - "page": "back.html" + "scripts": ["js/back.js"], + "persistent": false }, "browser_action": { "default_icon": "logo.png",