Skip to content

Instantly share code, notes, and snippets.

@dlwjiang
Created November 10, 2022 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlwjiang/3dd8bef294c2d9931242e216919d4ecd to your computer and use it in GitHub Desktop.
Save dlwjiang/3dd8bef294c2d9931242e216919d4ecd to your computer and use it in GitHub Desktop.
Kittens Script
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