From 20ffa09e60330319332ee1922861e2104347cca6 Mon Sep 17 00:00:00 2001 From: averagenative Date: Sun, 30 Aug 2026 15:17:40 -0400 Subject: [PATCH] Declare @updateURL so Tampermonkey can poll for updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit None of the five scripts said where to fetch a newer copy. Tampermonkey falls back to whatever URL a script was installed from, so installing from the raw GitHub link happens to work — but a script pasted into the editor by hand, which the README offers as an alternative, has no update source at all and can never update however far @version moves. Declaring it explicitly also drops the dependency on the repo rename: installs made before idleon-clicker became idleon-userscripts were updating through a redirect, and now point straight at the current path. The README grows an Updating section, because "it did not update" has three causes that all look identical: the check interval is a day by default, raw GitHub is CDN-cached for about five minutes, and an update only happens when @version increases. Co-Authored-By: Claude Opus 5 (1M context) --- README.md | 10 +++++++++- idleon-clicker.user.js | 4 +++- idleon-darts.user.js | 4 +++- idleon-fishing.user.js | 4 +++- idleon-hoops.user.js | 4 +++- idleon-suite.user.js | 4 +++- tools/suite/00-head.js | 2 ++ 7 files changed, 26 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d4bca98..843bb64 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,15 @@ It renders a small draggable control panel over the game and fires synthetic mou 3. Tampermonkey detects the `.user.js` and opens its install tab — click **Install**. 4. Go to and load the game. The panel appears in the top-right. -To update later, just open the raw link again and re-install (Tampermonkey can also auto-check if you enable it). +### Updating + +Every script declares `@updateURL`, so Tampermonkey polls this repo on its own — but only on its update interval, which defaults to **once a day**. To pull a change immediately, do any of: + +- **Open the raw link again.** Tampermonkey intercepts the `.user.js`, shows you a diff, and offers **Update**. Instant, and works no matter how the script was installed. +- **Dashboard → Installed Userscripts → click the "Last updated" timestamp** for that script. That checks just that one. +- **Dashboard → Settings → Config mode: Advanced → Externals/Update → check interval**, to make automatic checks more frequent. + +Two things that look like a broken update but aren't: `raw.githubusercontent.com` is CDN-cached for about five minutes, so a change pushed a moment ago may not be visible yet; and Tampermonkey only updates when `@version` **increases**, which is why the build refuses to ship suite content without bumping it. ### Manual install (alternative) diff --git a/idleon-clicker.user.js b/idleon-clicker.user.js index 2ca9e85..677b534 100644 --- a/idleon-clicker.user.js +++ b/idleon-clicker.user.js @@ -1,7 +1,9 @@ // ==UserScript== // @name IdleOn Clicker // @namespace nativerobot -// @version 3.4 +// @version 3.5 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-clicker.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-clicker.user.js // @description Stealthy in-page autoclicker panel for Legends of IdleOn (browser) // @match https://www.legendsofidleon.com/* // @grant none diff --git a/idleon-darts.user.js b/idleon-darts.user.js index 140e497..7f8a9d7 100644 --- a/idleon-darts.user.js +++ b/idleon-darts.user.js @@ -1,7 +1,9 @@ // ==UserScript== // @name IdleOn Darts Helper // @namespace nativerobot -// @version 1.3 +// @version 1.4 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-darts.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-darts.user.js // @description Draws the predicted dart path and where it lands on the board, wind included, for the Throwy Darts minigame // @match https://www.legendsofidleon.com/* // @grant none diff --git a/idleon-fishing.user.js b/idleon-fishing.user.js index 9bcaa04..41aa454 100644 --- a/idleon-fishing.user.js +++ b/idleon-fishing.user.js @@ -1,7 +1,9 @@ // ==UserScript== // @name IdleOn Fishing Helper // @namespace nativerobot -// @version 2.0 +// @version 2.1 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-fishing.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-fishing.user.js // @description Draws where your cast will land, plus fish and hazard markers, for the IdleOn fishing minigame // @match https://www.legendsofidleon.com/* // @grant none diff --git a/idleon-hoops.user.js b/idleon-hoops.user.js index 615b812..c937854 100644 --- a/idleon-hoops.user.js +++ b/idleon-hoops.user.js @@ -1,7 +1,9 @@ // ==UserScript== // @name IdleOn Hoops Helper // @namespace nativerobot -// @version 1.7 +// @version 1.8 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-hoops.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-hoops.user.js // @description Dotted-line shot preview + live ball arc for the Swishy Hoops minigame in Legends of IdleOn // @match https://www.legendsofidleon.com/* // @grant none diff --git a/idleon-suite.user.js b/idleon-suite.user.js index 0c35792..3bd40ad 100644 --- a/idleon-suite.user.js +++ b/idleon-suite.user.js @@ -1,7 +1,9 @@ // ==UserScript== // @name IdleOn Helper Suite // @namespace nativerobot -// @version 1.2 +// @version 1.3 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-suite.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-suite.user.js // @description All-in-one: autoclicker + Hoops, Fishing and Darts minigame helpers for Legends of IdleOn, each one individually switchable // @match https://www.legendsofidleon.com/* // @grant none diff --git a/tools/suite/00-head.js b/tools/suite/00-head.js index 8494070..4c96ce9 100644 --- a/tools/suite/00-head.js +++ b/tools/suite/00-head.js @@ -2,6 +2,8 @@ // @name IdleOn Helper Suite // @namespace nativerobot // @version 1.2 +// @downloadURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-suite.user.js +// @updateURL https://raw.githubusercontent.com/averagenative/idleon-userscripts/main/idleon-suite.user.js // @description All-in-one: autoclicker + Hoops, Fishing and Darts minigame helpers for Legends of IdleOn, each one individually switchable // @match https://www.legendsofidleon.com/* // @grant none