mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-02 21:39:38 +05:00
profitsfly minor timer fix
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/191
This commit is contained in:
parent
178fd27608
commit
d0d501c4e2
3 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.4.39
|
||||
// @version 93.4.40
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.4.39
|
||||
// @version 93.4.40
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -3095,11 +3095,11 @@
|
|||
const forcedTimerInitialValue = 7;
|
||||
function setTimer() {
|
||||
if (window.wT9882 > forcedTimerInitialValue) {
|
||||
window.wT9882 = forcedTimerInitialValue - 1;
|
||||
window.wT9882 = 1;
|
||||
}
|
||||
}
|
||||
window.wT9882 = forcedTimerInitialValue;
|
||||
setInterval(setTimer, 1000);
|
||||
setInterval(setTimer, 1000); //This function exists because if the site detects an adblocker, it switches the timer to 30, and that only happens in the last second or so
|
||||
|
||||
/* ------------ Protect buttons from being removed ------------ */
|
||||
// Protect all buttons currently in the DOM
|
||||
|
|
|
@ -70,11 +70,11 @@
|
|||
const forcedTimerInitialValue = 7;
|
||||
function setTimer() {
|
||||
if (window.wT9882 > forcedTimerInitialValue) {
|
||||
window.wT9882 = forcedTimerInitialValue - 1;
|
||||
window.wT9882 = 1;
|
||||
}
|
||||
}
|
||||
window.wT9882 = forcedTimerInitialValue;
|
||||
setInterval(setTimer, 1000);
|
||||
setInterval(setTimer, 1000); //This function exists because if the site detects an adblocker, it switches the timer to 30, and that only happens in the last second or so
|
||||
|
||||
/* ------------ Protect buttons from being removed ------------ */
|
||||
// Protect all buttons currently in the DOM
|
||||
|
|
Loading…
Reference in a new issue