Skip to content

Instantly share code, notes, and snippets.

@jjcf89
jjcf89 / clicker.js
Created August 24, 2026 01:09
javascript auto clicker
(function() {
// 1. Setup the Global Controller
// If one already exists, abort it first to cleanup old listeners
if (window.clickerController) {
window.clickerController.abort();
}
window.clickerController = new AbortController();
const { signal } = window.clickerController;
const old = window.box;
@jjcf89
jjcf89 / snippet-oracle.js
Last active August 27, 2026 20:55
Javascript to draw lines in Yucata's Oracle of Delphi
// Draw paths of each ship through out the game
//
// Need to run code in console and replay the game
// Howto for Chrome:
// * Open finished game https://www.yucata.de/en/Game/Delphi/10373044#page
// * Click on first move in game log
// * Right click on page and select "Inspect"
// * Select the "Sources" tab and in left pane, change Page to Snippets
// * Create "+ New Snippet" and give it a name
// * Copy/paste this code into the snippet