You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: GUI plugins: let a LinkHandler claim external http(s) links from session content #59798
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
LinkHandler only sees local links. A plugin cannot take an http(s) link from session content, so every external link goes straight to the system browser.
Proposal: LinkHandler.external?: boolean. Handlers that declare it are offered http(s) links from session content (and only those), by priority; a link no handler takes opens in the system browser as today. Link gets external?: boolean so match knows which kind it is looking at.
Use case: keep links to a known site in the session's browser pane, with its sign-in, instead of losing them to the system browser.
The host change is small (the link router asks external handlers first). We carry it downstream with tests and can open a PR.
Thanks for the detailed proposal! To restate it: you'd like GUI plugins to be able to opt in, via LinkHandler.external and Link.external, to http(s) links from session content. A plugin could then, for example, keep links to a known site in the session's browser pane where you're signed in, instead of always sending them to the system browser.
Right now LinkHandler only covers local links, and external links skip the handler registry entirely, so a plugin can't do this today. It would need the API change you describe. Maintainers will consider it. If you open the PR, linking it here will help them review it alongside this request.
Activity
opencodejr commentedon Oct 28, 2026
Thanks for the detailed proposal! To restate it: you'd like GUI plugins to be able to opt in, via
LinkHandler.externalandLink.external, to http(s) links from session content. A plugin could then, for example, keep links to a known site in the session's browser pane where you're signed in, instead of always sending them to the system browser.Right now
LinkHandleronly covers local links, and external links skip the handler registry entirely, so a plugin can't do this today. It would need the API change you describe. Maintainers will consider it. If you open the PR, linking it here will help them review it alongside this request.Related:
LinkHandlerand the other registries)