Created
April 12, 2020 07:28
-
-
Save MarkZhangTW/5ed1a8f8c4db0e167b3522412dc2e5ec to your computer and use it in GitHub Desktop.
Find the Invisible Cow Cheater
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
var cow = document.querySelector('div.game') | |
for (let y = 0; y < cow.clientHeight; y += 25) | |
for (let x = 0; x < cow.clientWidth; x += 25) | |
cow.dispatchEvent(new MouseEvent('click', {clientX: x, clientY: y})); |
Author
MarkZhangTW
commented
Apr 12, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment