Samuel
@samuel.fm
wait how do you force it to be target=_blank
1 4
Samuel
I wonder what the check specifically is, since the URL constructor handles that. it must be a dumb `uri.startsWith("https://bsky.app")` or something
> "https://bsky.%61pp/" === "bsky.app"
false
> new URL("https://bsky.%61pp/").host === "bsky.app"
true 1
Samuel
wow that is fascinating, cookies aren't shared if you include the root zone? I'm not logged in on that link
1 4
thought agent jabsco ๐Ÿ
They should, but whatever Netscape intern was in charge of implementing the cookie jar in 1997 didn't realize host-matching should have been more complicated than a strcmp() against the struct field until it was far too late
1 4
1 more reply
Jaz
oh cause we don't open in a new tab if it's a bsky.app link so we can use react navigation i guess but with the % encoding we don't match it, i didn't know we even did that lol
1 7
Samuel
I think the weird part is the original link is literally a noop in the mobile app. doesnโ€™t even take you to the search tab
2