From 00fe1c639348669a86a9ee088ed84bcccaecc43d Mon Sep 17 00:00:00 2001 From: ryuku Date: Thu, 16 Jun 2022 09:38:18 +1000 Subject: [PATCH] uh, oops --- yt-auto-reject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt-auto-reject.js b/yt-auto-reject.js index 64107c0..3a798fd 100644 --- a/yt-auto-reject.js +++ b/yt-auto-reject.js @@ -20,7 +20,7 @@ async function consentMonitor() { const timeout = 100 for(var i = 0; i < retryTotal; i += timeout) { - await new Promise(r => setTimeout(r, 100)); + await new Promise(r => setTimeout(r, timeout)); var e = document.querySelector(query) if (!e) continue