fix detection of faucets using tiktokcounter

https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/45
This commit is contained in:
Amm0ni4 2024-05-05 17:11:21 +02:00
parent 707ed6f86d
commit 069748a825
3 changed files with 10 additions and 6 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 91.9.1 // @version 91.9.2
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 91.9.1 // @version 91.9.2
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -2927,7 +2927,7 @@
if (tiktokcounterRegex.test(window.location.href)) { if (tiktokcounterRegex.test(window.location.href)) {
preventForcedFocusOnWindow(); preventForcedFocusOnWindow();
setInterval(function(){window.wT9882=0;},1000); //setInterval(function(){window.wT9882=0;},1000);
} }
//document.addEventListener('DOMContentLoaded', function() { //document.addEventListener('DOMContentLoaded', function() {
@ -2939,7 +2939,9 @@
if (tiktokcounterRegex.test(window.location.href)) { if (tiktokcounterRegex.test(window.location.href)) {
// Skip timer // Skip timer
// setInterval(function(){window.wT9882=0;},1000); if (document.documentElement.outerHTML.includes("/psa'")) {
setInterval(function(){window.wT9882=0;},1000);
}
// Auto click buttons // Auto click buttons
if (true){ if (true){

View file

@ -102,7 +102,7 @@
if (tiktokcounterRegex.test(window.location.href)) { if (tiktokcounterRegex.test(window.location.href)) {
preventForcedFocusOnWindow(); preventForcedFocusOnWindow();
setInterval(function(){window.wT9882=0;},1000); //setInterval(function(){window.wT9882=0;},1000);
} }
//document.addEventListener('DOMContentLoaded', function() { //document.addEventListener('DOMContentLoaded', function() {
@ -114,7 +114,9 @@
if (tiktokcounterRegex.test(window.location.href)) { if (tiktokcounterRegex.test(window.location.href)) {
// Skip timer // Skip timer
// setInterval(function(){window.wT9882=0;},1000); if (document.documentElement.outerHTML.includes("/psa'")) {
setInterval(function(){window.wT9882=0;},1000);
}
// Auto click buttons // Auto click buttons
if (true){ if (true){