Created
November 10, 2022 16:25
-
-
Save dlwjiang/3dd8bef294c2d9931242e216919d4ecd to your computer and use it in GitHub Desktop.
Kittens Script
This file contains 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
const hunt = ".0.2.0.1" | |
const beam = ".0.5.1.0.3.6.0" | |
const slab = ".0.5.1.0.4.6.0" | |
const steel = ".0.5.1.0.6.6.0"; | |
const manuscript = ".0.5.1.0.g.6.0"; | |
const praise = ".0.3.0"; | |
const targets = [hunt, beam, slab, steel, manuscript, praise]; | |
targets.forEach(target => { | |
setInterval(() => { | |
document.querySelector(`[data-reactid="${target}"]`).click(); | |
}, 5000) | |
}); | |
setInterval(() => { | |
document.querySelector("#observeBtn").click(); | |
}, 30000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment