PopupBlocker icon indicating copy to clipboard operation
PopupBlocker copied to clipboard

Auto-updating between versions

Open TPS opened this issue 2 years ago • 2 comments

I think this is some weird standard for userscripts that I never understood (is it meant for security?), but this 1 doesn't update properly, either, presumably because of the version being embedded in the path. Could there be additionally a canonical address (like https://userscripts.adtidy.org/beta/popup-blocker/latest/popupblocker.user.js or https://userscripts.adtidy.org/release/popup-blocker/latest/popupblocker.user.js) that'd actually allow auto-updating to work?

TPS avatar Jun 01 '22 09:06 TPS

reopen if needed

zzebrum avatar Aug 26 '22 15:08 zzebrum

wrong issue 🙈

zzebrum avatar Aug 26 '22 15:08 zzebrum

Actually, there are such links. And you can find them in the readme section of https://github.com/AdguardTeam/PopupBlocker#installation. The userscript would be updated along with the filters. Please feel free to reopen this issue if you have other questions.

maximtop avatar May 02 '23 14:05 maximtop

@maximtop This seems correct ifF y'all stay @ v2.5.x .… What happens when you change the version or URL convention?

TPS avatar May 03 '23 02:05 TPS

We would specify a new link in the manifest for updates.

maximtop avatar May 03 '23 09:05 maximtop

See, that's the point of a canonical link. Just like for the filter lists, a permanent link, irrelevant of version, is useful to avoid having to update settings.

TPS avatar May 03 '23 11:05 TPS

In case of any changes to the version, we will update the link in the next version of the Popup Blocker, so users won't have to manually update anything.

maximtop avatar May 03 '23 12:05 maximtop