1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Added tool to clear persistent rng for a specific container

Fixes #368
This commit is contained in:
kkapsner 2019-06-14 10:45:34 +02:00
parent 895c7a36d7
commit 03524fd789
7 changed files with 59 additions and 0 deletions

View file

@ -41,6 +41,12 @@
return;
}
}
if (data["canvasBlocker-clear-container-rnd"]){
persistentRndStorage.clearContainerData(data["canvasBlocker-clear-container-rnd"]);
if (keys.length === 1){
return;
}
}
notice("pass the message to the tabs");
browser.tabs.query({}).then(function(tabs){
tabs.forEach(function(tab){