Skip to content

Instantly share code, notes, and snippets.

@julescarbon
Created December 9, 2013 04:24
Show Gist options
  • Save julescarbon/7867378 to your computer and use it in GitHub Desktop.
Save julescarbon/7867378 to your computer and use it in GitHub Desktop.
trigger random mouse events on a csh.bz url
javascript:(function ani(){ requestAnimationFrame(ani);
Mouse.x = ~~(Math.random() * window.innerWidth);
Mouse.y = ~~(Math.random() * window.innerHeight)
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment