matrix-org / matrix-org/matrix.to
"Continue in your browser" persists a preference for Element Web
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
If you have Element Desktop installed, and choose Element as your preferred client, then matrix.to links open in a page like this:

If you then click "Continue", then the link opens in Element Desktop. Great success! Meanwhile the matrix.to tab updates to:

This is maybe a bit confusing, but ok. Normally I just ignore it.
The question is: what happens if you click "Continue in your browser". My *expectation* is that it opens that one link in https://app.element.io, and that future matrix.to links will go back to opening in Element Desktop.
*However*, what actually happens is that the next time you open a matrix.to link, it will default to Element Web. Worse, it's unclear how to repair the damage. (Turns out, you can click "Change", then "Element" again, and that fixes it.)
## TL;DR
STR:
* Click "Continue in your browser"
* Open another matrix.to link
* Be surprised that it now defaults to opening in Element Web.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented STR with an Element Desktop preference: click “Continue in your browser,” then open another matrix.to link. Trace the handling of the “Continue in your browser” and “Change” choices, and verify that using the browser option affects only the current link while later links still default to Element Desktop.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100