@slightlylate you could of course cheat and do document.createElement('a').href=URL; then read a.hostname and whatever..
-
-
-
@hallvord turns out I need something slightly different for CSP parsing, but thanks
End of conversation
New conversation -
-
-
@slightlylate http://url.spec.whatwg.org/#api (see also comments in the source about new features), feedback would be greatly appreciated! -
@annevk to what list? - 1 more reply
New conversation -
-
-
@slightlylate why write one when you can assign an href to an anchor and let it parse for you? -
@jedschmidt actually...that didn't occur to me, as I thought I wouldn't have a DOM inside a Chrome extension...but you're right! Booyah(ish) - 1 more reply
New conversation -
-
This Tweet is unavailable.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@slightlylate we did too ( https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L23 … ) I think@t documented a number of frameworks' URL parsers somewhere. Useful for planning?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.