With ServiceWorkers you can control requests to any page on your origin, and any of the subresource requests made by those pages. This is powerful stuff, and I'm curious to know what security measure you think is appropriate…
The implementation for ServiceWorker has been landing in Chrome Canary over the past few months, and there's now enough of it to do some cool shit!
Optimising fonts is pretty difficult for larger sites. There's an easy solution, although only some browsers support it.
The first draft of the service worker spec was published today! It's been a collaborative effort between Google, Samsung, Mozilla and others, and implementations for Chrome and Firefox are being actively developed. Anyone interesting in the web competing with native apps should be excited by this.
iOS has hidden the pathname of URLs for some time now, but recently Chrome Canary introduced something similar behind a flag.
I'm not involved in the development of Chrome experiment at all, but I've got more than 140 characters worth of opinion on it…
If you set an element to
display: none the browser ignores all of its children, if a child sets itself to
display: block it will remain hidden. This isn't true of
They're brilliant. They're brilliant and I want laws changed so I can marry them.
When I first started working with promises I had the overly simplistic view that passing a value into
reject would mark the promise as "failed", and passing a value into
resolve would mark it as "successful". However, the latter isn't always true.