Skip to content

Instantly share code, notes, and snippets.

@cyysky
Forked from DaWe35/Popcat click bot.js
Created August 14, 2021 07:15
Show Gist options
  • Save cyysky/e55968f15884af2a898188fba7c18dcc to your computer and use it in GitHub Desktop.
Save cyysky/e55968f15884af2a898188fba7c18dcc to your computer and use it in GitHub Desktop.
/*
1) Open https://popcat.click
2) Open console (F12)
3) Insert code & run
*/
var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});
setInterval(function(){
for (i = 0; i < 100; i++) {
document.dispatchEvent(event);
}
}, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment