1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-10-31 18:38:45 +01:00

Set random supply if settings were preloaded

Fixes #544
This commit is contained in:
kkapsner 2021-05-04 22:52:37 +02:00
parent bde9d3c012
commit b614b84b5f
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,9 @@
settings.on("rng", function(){ settings.on("rng", function(){
setRandomSupplyByType(settings.rng); setRandomSupplyByType(settings.rng);
}); });
if (!settings.isStillDefault){
setRandomSupplyByType(settings.rng);
}
function getURL(windowToProcess){ function getURL(windowToProcess){
let href; let href;

View File

@ -11,6 +11,7 @@ Version 1.6:
fixes: fixes:
- fix message canvasBlocker-unload - fix message canvasBlocker-unload
- convenience preset did not work properly - convenience preset did not work properly
- random supply was not set properly on a fresh new tab
known issues: known issues:
- if a data URL is blocked the page action button does not appear - if a data URL is blocked the page action button does not appear