re-enable timer skipping for psa

This commit is contained in:
Amm0ni4 2024-05-08 12:19:01 +02:00
parent 73cd0e3984
commit 6f3243576e
3 changed files with 16 additions and 8 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 91.9.7
// @version 91.9.8
// @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.7
// @version 91.9.8
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -2929,9 +2929,13 @@
if (tiktokcounterRegex.test(window.location.href)) {
preventForcedFocusOnWindow();
//setInterval(function(){window.wT9882=0;},1000);
setInterval(function(){window.isAdClickDone=true;},1000);
document.addEventListener('DOMContentLoaded', ()=> {const i = document.createElement('iframe');i.style = 'height:0;width:0;border:0';i.id = 'a';document.body.appendChild(i);i.focus();});
document.addEventListener('DOMContentLoaded', function() {
if (document.documentElement.outerHTML.includes("/psa'")) {
setInterval(function(){window.wT9882=0;},5000);
}
setInterval(function(){window.isAdClickDone=true;},500);
()=> {const i = document.createElement('iframe');i.style = 'height:0;width:0;border:0';i.id = 'a';document.body.appendChild(i);i.focus();};
});
}
//document.addEventListener('DOMContentLoaded', function() {

View file

@ -102,9 +102,13 @@
if (tiktokcounterRegex.test(window.location.href)) {
preventForcedFocusOnWindow();
//setInterval(function(){window.wT9882=0;},1000);
setInterval(function(){window.isAdClickDone=true;},1000);
document.addEventListener('DOMContentLoaded', ()=> {const i = document.createElement('iframe');i.style = 'height:0;width:0;border:0';i.id = 'a';document.body.appendChild(i);i.focus();});
document.addEventListener('DOMContentLoaded', function() {
if (document.documentElement.outerHTML.includes("/psa'")) {
setInterval(function(){window.wT9882=0;},5000);
}
setInterval(function(){window.isAdClickDone=true;},500);
()=> {const i = document.createElement('iframe');i.style = 'height:0;width:0;border:0';i.id = 'a';document.body.appendChild(i);i.focus();};
});
}
//document.addEventListener('DOMContentLoaded', function() {