Skip to content

Instantly share code, notes, and snippets.

@mxsgx
Created August 17, 2021 16:14
Show Gist options
  • Save mxsgx/61fc5cb844056eb02eac5681052c0efc to your computer and use it in GitHub Desktop.
Save mxsgx/61fc5cb844056eb02eac5681052c0efc to your computer and use it in GitHub Desktop.
Idk if this script is work or not
// Usage:
// 1. Open Web Console (Right Click > Inspect Element > Go to "Console" tab)
// 2. Copy and paste code below:
var interval = setInterval(() => document.dispatchEvent(new KeyboardEvent('keydown', {key: 'a'})), 1000 / 10); // 10 click per seconds (1000ms)
// If you want to stop just copy and paste code below:
clearInterval(interval);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment