Moving remove, add and update code into the web extension background for stability
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user