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
// @author Amm0ni4
// @noframes
// @version 91.9.1
// @version 91.9.2
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle

View file

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

View file

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