kudtkoekiewet: use the same algorithm - firefox-fix-web - Firefox extension: fix web
(HTM) git clone git://git.codemadness.org/firefox-fix-web
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6ef0798206ce57b27947f3be9d30ba5686c46fbc
(DIR) parent d0229906849489c71a94f40f1788ffff6119aee8
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 7 Aug 2018 20:19:31 +0200
kudtkoekiewet: use the same algorithm
Diffstat:
M extension/site/kudtkoekiewet.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/extension/site/kudtkoekiewet.js b/extension/site/kudtkoekiewet.js
@@ -1,5 +1,6 @@
(function() {
-location.href = location.search.match(/t=(.*)/)[1]+"?kudtcookiewet=jakapmetzeuren&kudtcookiernd=1";
+var r = Math.floor((Math.random() * (new Date()).getTime()) + 1);
+location.href = location.search.match(/t=(.*)/)[1]+"?kudtcookiewet=jakapmetzeuren&kudtcookiernd=" + r;
})();