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() {
|
(function() {
|
||||||
//'use strict';
|
//'use strict';
|
||||||
const url = window.location.href
|
const url = window.location.href
|
||||||
function boostTimers2() {
|
function boostTimers2() { // Overwrite setInterval and setTimeout
|
||||||
// Store the original setInterval and setTimeout functions
|
|
||||||
const originalSetInterval = window.setInterval;
|
const originalSetInterval = window.setInterval;
|
||||||
const originalSetTimeout = window.setTimeout;
|
const originalSetTimeout = window.setTimeout;
|
||||||
|
|
||||||
// Overwrite the setInterval function
|
|
||||||
window.setInterval = function(func, delay, ...args) {
|
window.setInterval = function(func, delay, ...args) {
|
||||||
// Modify the delay to 2% of its original value
|
|
||||||
const newDelay = delay * 0.02;
|
const newDelay = delay * 0.02;
|
||||||
return originalSetInterval(func, newDelay, ...args);
|
return originalSetInterval(func, newDelay, ...args);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Overwrite the setTimeout function
|
|
||||||
window.setTimeout = function(func, delay, ...args) {
|
window.setTimeout = function(func, delay, ...args) {
|
||||||
// Modify the delay to 2% of its original value
|
|
||||||
const newDelay = delay * 0.02;
|
const newDelay = delay * 0.02;
|
||||||
return originalSetTimeout(func, newDelay, ...args);
|
return originalSetTimeout(func, newDelay, ...args);
|
||||||
};
|
};
|
||||||
|
|
|
@ -1514,21 +1514,14 @@
|
||||||
(function() {
|
(function() {
|
||||||
//'use strict';
|
//'use strict';
|
||||||
const url = window.location.href
|
const url = window.location.href
|
||||||
function boostTimers2() {
|
function boostTimers2() { // Overwrite setInterval and setTimeout
|
||||||
// Store the original setInterval and setTimeout functions
|
|
||||||
const originalSetInterval = window.setInterval;
|
const originalSetInterval = window.setInterval;
|
||||||
const originalSetTimeout = window.setTimeout;
|
const originalSetTimeout = window.setTimeout;
|
||||||
|
|
||||||
// Overwrite the setInterval function
|
|
||||||
window.setInterval = function(func, delay, ...args) {
|
window.setInterval = function(func, delay, ...args) {
|
||||||
// Modify the delay to 2% of its original value
|
|
||||||
const newDelay = delay * 0.02;
|
const newDelay = delay * 0.02;
|
||||||
return originalSetInterval(func, newDelay, ...args);
|
return originalSetInterval(func, newDelay, ...args);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Overwrite the setTimeout function
|
|
||||||
window.setTimeout = function(func, delay, ...args) {
|
window.setTimeout = function(func, delay, ...args) {
|
||||||
// Modify the delay to 2% of its original value
|
|
||||||
const newDelay = delay * 0.02;
|
const newDelay = delay * 0.02;
|
||||||
return originalSetTimeout(func, newDelay, ...args);
|
return originalSetTimeout(func, newDelay, ...args);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue