@slightlylate @LeaVerou EXACTLY. But it's the design of *relative urls* that's unclear, not the design of URL, which is for absolute urls.
-
-
@slightlylate I think comparing .origin is pretty smooth. In my real case (example was simplified) I actually wanted to test if it’s a hash… -
@slightlylate …URL, i.e. everything else same as location except the hash, so I had to do even more checks. - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.