diff --git a/lib/intercept.js b/lib/intercept.js index fc20388..f43f97c 100644 --- a/lib/intercept.js +++ b/lib/intercept.js @@ -37,7 +37,9 @@ setRandomSupply(randomSupplies.nonPersistent); } } - scope.setRandomSupplyByType = setRandomSupplyByType; + settings.on("rng", function(){ + setRandomSupplyByType(settings.rng); + }); function getURL(window){ var href; @@ -262,7 +264,6 @@ case "allow": return {allow: true, original, window}; case "fake": - setRandomSupplyByType(prefs("rng")); return { allow: "fake", prefs,