I am using html5boilerplate with the Modernizr library. My application is built using jQuery. Both Modernizr and jQuery have a built-in discovery function, but I understand that Modernizr is more advanced. I plan to use Modernizr to discover features if there is no good reason to use jQuery for this.
My application is designed to work only with more modern browsers (such as IE7 +, Firefox, Chrome, Safari and the newer Opera), however, IE6 still works somewhat. I would like to make sure that users see a big thick warning if they use an old browser like IE6. I would also like to show a โsuggestionโ for upgrading to Chrome or another HTML5 compatible browser if it is not already using it.
I do not want to use user agent testing.
- Is there a specific list of functions that I should check to determine if the user is using IE6 or not?
- Is there a specific list of features that I should check to determine if the user is browsing with a sufficiently compatible HTML5 browser (Chrome, Safari, IE9, etc.).
source share