From f43acbe642ce6befa00a693512f7da333e5befb3 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Thu, 27 Feb 2025 12:24:04 +0100 Subject: [PATCH] delete unnecessary comments --- Bypass_All_Shortlinks.user.js | 9 +-------- extra_bypasses/extra_bypasses.user.js | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index e9c49a5..120630b 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -2767,21 +2767,14 @@ (function() { //'use strict'; const url = window.location.href - function boostTimers2() { - // Store the original setInterval and setTimeout functions + function boostTimers2() { // Overwrite setInterval and setTimeout const originalSetInterval = window.setInterval; const originalSetTimeout = window.setTimeout; - - // Overwrite the setInterval function window.setInterval = function(func, delay, ...args) { - // Modify the delay to 2% of its original value const newDelay = delay * 0.02; return originalSetInterval(func, newDelay, ...args); }; - - // Overwrite the setTimeout function window.setTimeout = function(func, delay, ...args) { - // Modify the delay to 2% of its original value const newDelay = delay * 0.02; return originalSetTimeout(func, newDelay, ...args); }; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 5fb8e33..3e93a1e 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -1514,21 +1514,14 @@ (function() { //'use strict'; const url = window.location.href - function boostTimers2() { - // Store the original setInterval and setTimeout functions + function boostTimers2() { // Overwrite setInterval and setTimeout const originalSetInterval = window.setInterval; const originalSetTimeout = window.setTimeout; - - // Overwrite the setInterval function window.setInterval = function(func, delay, ...args) { - // Modify the delay to 2% of its original value const newDelay = delay * 0.02; return originalSetInterval(func, newDelay, ...args); }; - - // Overwrite the setTimeout function window.setTimeout = function(func, delay, ...args) { - // Modify the delay to 2% of its original value const newDelay = delay * 0.02; return originalSetTimeout(func, newDelay, ...args); };