We can cut the mustard with if (‘visibilityState’ in document) alone. Useful stu…

We can cut the mustard with if ('visibilityState' in document) alone. Useful stuff. http://ift.tt/181bYkA


Cut the mustard revisited | justmarkup
justmarkup.com
Cutting the mustard is a term coined by the BBC team (post) to group browsers into »modern« browsers and »old« browsers. This is not done by sniffing the User Agent but by using Browser Feature Detection. Here is the JavaScript that decides whether the browser is modern or old.

more @ http://ift.tt/1HSZKcr

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s