Add @downloadURL
To support automatic (prompted) updates in Tampermonkey.
See https://www.tampermonkey.net/documentation.php?locale=en#meta:downloadURL
Without @updateURL also provided with the same value, Tampermonkey's editor's eslint shows a warning on the @downloadURL line: Didn't find attribute 'updateURL' in the metadata. It still works without it, and I think it looks cleaner to specify the URL just once, so that's what I use in all my userscripts and ignore the warning
Always nice to see the @downloadURL feature misused. Having zero automatic updates has never been how the key is designed. Not against adding it with GitHub source but doing this for an improperly featured .user.js engine option is a bit of stretch.
If the @downloadURL is absent the default is to use the installation source as a download source. Same with @updateURL. This is the key feature.
Good to know! I just tested installing from master on a new machine and Tampermonkey did pick up the update URL automatically - excellent. Sorry, I guess I'd assumed that wasn't a thing. Perhaps I'd installed third party scripts previously by pasting the code (rather than by opening the raw script URL and using the install prompt), from which there is no URL for it to pick up.