Thursday, June 17th, 2010

Modernizr: Point and see how modern you are

Category: Library

<p>

Modernizr detects feature support across JS APIs and CSS. Now, there is a simple
page that shows you what Modernizr thinks of your browser:

Posted by Dion Almaer at 6:32 am
5 Comments

+++++
5 rating from 2 votes

5 Comments »

Comments feed TrackBack URI

Would be cool if some of the big sites would gather/aggregate this info from their visitors so devs have an idea of support from the general public.

Comment by cancelbubble — June 17, 2010

@cancelbubble – I’m halfway done on reporting this info to Browserscope. Once done, it’d be easy for a site to start contributing their user’s support data. This probably makes more sense than custom variables in google analytics..

Comment by PaulIrish — June 17, 2010

How about caching test results somewhere (a cookie perhaps) along with useragent string and modernizr version and only run the tests if the cookie doesnt exist and/or the useragent string or modernizr version have changed?

Right off the bat running modernizr on every pageload seems wasteful – though its fairly fast.

Comment by rasmusfl0e — June 17, 2010

I already gave that a shot, rasmusfl0e, but the performance gain wasn’t significant. I actually used sessionStorage, which has a big performance advantage over cookies.
Then again, I might not have done it as well as it could be..

Comment by PaulIrish — June 17, 2010

It works really well!!!

At 1276865962882, Modernizr took: 75381ms

-_- noty slow as poop in Safari

Comment by V1 — June 18, 2010

Leave a comment

You must be logged in to post a comment.