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

Limit periodical rnd clearing

Periodical persistent rnd clearing does not clear in active tabs.

Fixes #518
This commit is contained in:
kkapsner 2021-02-21 11:49:29 +01:00
parent 28dd7f6819
commit ee87773ce2
5 changed files with 24 additions and 9 deletions

View file

@ -90,7 +90,7 @@
}
}
if (data["canvasBlocker-clear-domain-rnd"]){
persistentRndStorage.clear();
persistentRndStorage.clear(data["canvasBlocker-clear-domain-rnd"] === "force");
if (keys.length === 1){
return;
}