Skip to content

Declare @updateURL so Tampermonkey can poll for updates - #4

Merged
averagenative merged 1 commit into
mainfrom
update-urls
Aug 30, 2026
Merged

averagenative merged 1 commit into
mainfrom
update-urls

Conversation

@averagenative

Copy link
Copy Markdown
Owner

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.

Versions bumped: clicker 3.5, hoops 1.8, fishing 2.1, darts 1.4, suite 1.3 (auto).

The README grows an Updating section, because "it didn't update" has three causes that look identical from the outside:

  • the check interval defaults to once a day
  • raw.githubusercontent.com is CDN-cached for ~5 minutes
  • an update only happens when @version increases

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) <noreply@anthropic.com>
@averagenative
averagenative merged commit 9e78596 into main Aug 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant