From b614b84b5f2af48492a320d643d533892c892da9 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Tue, 4 May 2021 22:52:37 +0200 Subject: [PATCH] Set random supply if settings were preloaded Fixes #544 --- lib/intercept.js | 3 +++ releaseNotes.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/intercept.js b/lib/intercept.js index cd5ce96..8db72bc 100644 --- a/lib/intercept.js +++ b/lib/intercept.js @@ -39,6 +39,9 @@ settings.on("rng", function(){ setRandomSupplyByType(settings.rng); }); + if (!settings.isStillDefault){ + setRandomSupplyByType(settings.rng); + } function getURL(windowToProcess){ let href; diff --git a/releaseNotes.txt b/releaseNotes.txt index a03f7b3..e862284 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -11,6 +11,7 @@ Version 1.6: fixes: - fix message canvasBlocker-unload - convenience preset did not work properly + - random supply was not set properly on a fresh new tab known issues: - if a data URL is blocked the page action button does not appear