Moving remove, add and update code into the web extension background for stability

This commit is contained in:
Jonathan Kingston
2017-05-08 14:32:35 +01:00
parent 337dee2061
commit 1ec86c7fd2
3 changed files with 113 additions and 97 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ document.getElementById("redirect-form").addEventListener("submit", (e) => {
// Sending neverAsk message to background to store for next time we see this process
if (neverAsk) {
browser.runtime.sendMessage({
type: "never-ask",
method: "neverAsk",
neverAsk: true,
pageUrl: redirectUrl
}).then(() => {