mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-03 22:09:37 +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
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.4.39
|
// @version 93.4.40
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.4.39
|
// @version 93.4.40
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
@ -3095,11 +3095,11 @@
|
||||||
const forcedTimerInitialValue = 7;
|
const forcedTimerInitialValue = 7;
|
||||||
function setTimer() {
|
function setTimer() {
|
||||||
if (window.wT9882 > forcedTimerInitialValue) {
|
if (window.wT9882 > forcedTimerInitialValue) {
|
||||||
window.wT9882 = forcedTimerInitialValue - 1;
|
window.wT9882 = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
window.wT9882 = forcedTimerInitialValue;
|
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 buttons from being removed ------------ */
|
||||||
// Protect all buttons currently in the DOM
|
// Protect all buttons currently in the DOM
|
||||||
|
|
|
@ -70,11 +70,11 @@
|
||||||
const forcedTimerInitialValue = 7;
|
const forcedTimerInitialValue = 7;
|
||||||
function setTimer() {
|
function setTimer() {
|
||||||
if (window.wT9882 > forcedTimerInitialValue) {
|
if (window.wT9882 > forcedTimerInitialValue) {
|
||||||
window.wT9882 = forcedTimerInitialValue - 1;
|
window.wT9882 = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
window.wT9882 = forcedTimerInitialValue;
|
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 buttons from being removed ------------ */
|
||||||
// Protect all buttons currently in the DOM
|
// Protect all buttons currently in the DOM
|
||||||
|
|
Loading…
Reference in a new issue