Moving bulk of removeIdentity code into popup.js

This commit is contained in:
Jonathan Kingston
2017-04-28 14:15:59 +01:00
committed by groovecoder
parent 5887f991b3
commit f4597eae84
5 changed files with 80 additions and 44 deletions
+1
View File
@@ -9,6 +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",
neverAsk: true,
pageUrl: redirectUrl
}).then(() => {