Skip to content

chore: stop opening an uninstall page - #48

Merged
spin311 merged 1 commit into
masterfrom
chore/remove-uninstall-url
Nov 10, 2026
Merged

spin311 merged 1 commit into
masterfrom
chore/remove-uninstall-url

Conversation

@spin311

@spin311 spin311 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

The uninstall page (svitspindler.com/uninstall) is no longer checked, so uninstalling should open nothing.

  • New installs no longer call setUninstallURL.
  • Existing installs: browsers keep the URL that versions up to 3.2.0 set at install, so removing the call alone would leave every current user opening the page. On update the extension now calls setUninstallURL(''), which Chrome and Firefox document as "open nothing". It is best effort (.catch), so a refusal can't stop the "New" badge.
  • docs/ecc notes no longer mention the uninstall page. The historical WXT-migration plan and spec are left as they were.

Verification

  • Tests first: install sets no uninstall page, an update clears it with '', and an update still badges "New" if clearing fails. 152 tests pass, type check clean, Chrome and Firefox build; neither built background.js contains the old URL.
  • Live in Chromium: setUninstallURL('') resolves after a URL was set, and the profile's Secure Preferences then holds uninstall_url: "".

Not verified: the update path end to end in a real browser (covered by the unit test), and Firefox's handling of '' (documented on MDN; the call is best effort either way).

The uninstall page on svitspindler.com is no longer checked. A new
install no longer sets it, and an update clears the URL that versions up
to 3.2.0 set at install: browsers keep it (Chrome stores it in the
profile), so dropping the call alone would leave existing installs
opening the page. setUninstallURL('') means "open nothing"; it is best
effort, so a refusal can't stop the update's "New" badge.

The docs/ecc notes no longer list the uninstall page.
@spin311
spin311 merged commit 3e32602 into master Nov 10, 2026
2 checks passed
@spin311
spin311 deleted the chore/remove-uninstall-url branch November 10, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant