mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-01 21:09:37 +05:00
delete unnecessary comments
This commit is contained in:
parent
d264137173
commit
f43acbe642
2 changed files with 2 additions and 16 deletions
|
@ -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);
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue