This post was of course an April Fool's Day joke, check the post date ;) We can but dream of having a script like this one day. Oh and if you haven't checked out what the script does do, you really should, it's awesome.
At the beginning of the year, all seven of the HTML5 Doctors met up and started to discuss the problem of browser support within the realm of HTML5, CSS3 and all the sexy new APIs.
But we've gone one step further.
An über polyfill library if you will!
That's exactly what we've been working on for the last few months. Here today, we give you a new service from the HTML5 Doctors that will give your old and busted browser a kick up the backside and finally bring it up to scratch.
It goes without saying that this is a fairly mammoth task, so this is just the beta of the service, but we felt that it was in a good enough state to release to our loyal readers.
The Über Polyfill
So enough jibber-jabber, right? Let's get down and dirty with how to get using this library today.
That's it. By including this script in to a browser like, say IE6, it will have access to Web Storage, WebSockets, Web Forms and more.
We've also configured the service so that you can include just specific pieces of technology - so if you just want Web Forms, you would do:
And if you wanted to mix Web Forms with full CSS3 support:
And so on.
Currently the service supports the following specifications:
- All of CSS3 (including selectors)
- PostMessage and related messaging APIs
- Includes all the new HTML5 elements - article, section, etc
- Live connections via: XHR2, EventSource and WebSockets
- File API
- Offline support
- Offline events
- Loading web pages APIs, most importantly, the History API (ref)
- Storage API, including the events (which most browsers currently lack)
Obviously sexy HTML5 things like native video and audio are supported, and specifically, we've been able to ensure that all browsers support WebM (yep, even gave Safari a bit of kick to support WebM) that way you only need to encode your videos once (finally). There's lots more we're planning to do in the future to make developing for the web with HTML5 so much easier.
There's still a lot that can be done with this service, and we're already working on the next exciting feature will be the full DAP implementation - yes that does mean you'll be able to access your camera from an input element:
<input type="file" accept="image/*;capture=camera">
Pretty exciting stuff, eh? Let us know what you'd like to be included that isn't in this and we'll look at including it in the full release.