Skip to content

Instantly share code, notes, and snippets.

@DaWe35
Last active June 14, 2024 12:47
Show Gist options
  • Save DaWe35/0febd8b058e4476967d12675a622c989 to your computer and use it in GitHub Desktop.
Save DaWe35/0febd8b058e4476967d12675a622c989 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);
@Reo12304
Copy link

this is 1b code if it doesnt work tell me ill lower the number

var event = new KeyboardEvent('keydown', {
key: 'g',
ctrlKey: true
});

setInterval(function(){
for (i = 0; i < 100000000; i++) {
document.dispatchEvent(event);
}
}, 0);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment