Carlos Lopez
My feedback
1 result found
-
25 votes
An error occurred while saving the comment An error occurred while saving the comment Carlos Lopez commentedIndeed, the html5test.com page is a good example of how to use feature detection. You will be surprised to know that Epiphany gets an score of 416 there (which is better than, for example, Safari 9 or iOS 9 that get 400 or 409 respectively).
You can check https://github.com/NielsLeenheer/html5test/blob/version-8.0/scripts/8/engine.js to see how that page manages to detect the features of the browser without sniffing/parsing the user-agent.
Carlos Lopez supported this idea ·
A better advice: just use Modernizr https://modernizr.com/ and read this good article about making the Web work for everyone: https://hacks.mozilla.org/2016/07/make-the-web-work-for-everyone/