Dedicated to the (as far as we know) one and only person running vaft as a uBlock Origin resource in Firefox. This one's for you. 👋
Added
- Update notice (
updateCheck, default on) — uBlock Origin reloads its script resource only now and then, so a uBlock user can stay on an old version without noticing (Tampermonkey and Violentmonkey update on their own). At most once a day vaft fetches the tinyvaft/version.jsonfrom this repository (in the background, without credentials, every error ignored) and caches the result; when a newer version exists the console shows[AD DEBUG] Update available: vaft v119 (68.17.0) — this is v118.with a link to the update steps. Nothing is sent but the request itself. Opt-out:twitchAdSolutions_updateCheck=false. vaft only - README: how to update the uBlock Origin version right away — append
?v=<number>to theuserResourcesLocationURL, apply and restart the browser.
Tests
- 756 checks: the notice (same, older, newer and broken versions), the daily cache, a failed or non-200 request, the opt-out, the request without credentials, and
vaft/version.jsonmatching@versionandourTwitchAdSolutionsVersionin both formats. Each change was checked by reverting it: every revert fails the suite.