Repository navigation
uBlockVanced 0.2.6
Reliability hardening across dashboards, build tooling, and the Element Probe save path.
- document-blocked:
JSON.parse(decodeURIComponent(details=…))now wrapped in try/catch. A malformed or truncated query string no longer prevents the blocked-document UI from rendering. - Startup race protection:
popup-fenix.js,theme.js,settings.js,cloud-ui.jsall add a rejection handler on their initial.then(...)startup messages. A slow-to-wake background worker no longer leaves the popup / dashboard / cloud widget stuck in "loading". - cloud-ui: XHR that fetches the cloud widget template now has
onerror/ontimeouthandlers and checks HTTP status before parsing — an interrupted update or corrupted install won't crash the hosting dashboard page. - settings:
onUserSettingsReceived/onLocalDataReceivedguardresult instanceof Objectbefore iterating; a null result no longer throws on the first setting it touches. - Element Probe selector preflight: new
isValidCssSelectorcheck (viadocument.createDocumentFragment().querySelector) rejects invalid standard CSS before it reaches the user filter list. Users see an actionable error instead of a silently-ignored rule. Procedural filters (:has-text,:upward,:matches-path) skip the preflight by design. - Build scripts:
tools/make-chromium.shandtools/make-firefox.shrewritten withset -euo pipefail, fully-quoted variables, and safer${1:-}expansion. Prevents silent failures when the build runs in a path with spaces, and ensures any single command failure aborts the build instead of cascading into a corrupt package. - Meta generator:
tools/make-chromium-meta.pydev-build name injection now tolerates variants that omitbrowser_actionoraction(MV3 vs MV2 drift). Previously threwKeyError. - Release template:
.github/workflows/RELEASE.HEAD.mdrewritten for fork identity — links and install instructions now point toSysAdminDoc/uBlockVancedwith clear notes about unsigned dev-build installation on Chromium and Firefox.