Last active
August 18, 2021 10:41
-
-
Save nawawi/a120c5af20128d0bef362f9c77fe7c01 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1) Open https://popcat.click | |
2) Open console (F12) | |
3) Insert code | |
*/ | |
function run_pcat() { | |
var event = new KeyboardEvent( 'keydown', { | |
key: 'g', | |
ctrlKey: true | |
} ); | |
window.pcat_start = setInterval( function() { | |
for ( i = 0; i < 100; i++ ) { | |
document.dispatchEvent( event ); | |
} | |
}, 0 ); | |
console.log( "clicking popcat" ); | |
setTimeout( function() { | |
clearInterval( window.pcat_start ); | |
console.log( "popcat finish" ); | |
setTimeout( function() { | |
run_pcat(); | |
}, 4000 ); | |
}, 3000 ); | |
}; | |
run_pcat(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment