Declare @updateURL so Tampermonkey can poll for updates - #4
Merged
Merged
Conversation
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>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@versionmoves.Declaring it explicitly also drops the dependency on the repo rename: installs made before
idleon-clickerbecameidleon-userscriptswere 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:
raw.githubusercontent.comis CDN-cached for ~5 minutes@versionincreases