Hacker News new | ask | show | jobs
by Cymrukicks 1697 days ago
It can be so damn annoying on android, When you mail client opens its own browser instead of the default. You close the screen to do something else comeback and have to login again.
2 comments

IIRC one can register a protocol handler so that the browser that you opened the site in will be the handler for the link: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/r...

Haven't tried it myself though

I've built a similar system which sends the token for copying and a link for clicking. It also uses SMS if the user provides their phone number.