0

Is there a software or script that can detect the internet browser functionalities? (e.g. Support CSS3, HTML5, etc)

2
  • Please explain in more detail what you want to accomplish.
    – Daniel Beck
    Oct 25, 2011 at 5:25
  • I am looking something like Acid3 but can be download as a software and covers more standards beside XHTML, DOM, etc Oct 25, 2011 at 5:31

3 Answers 3

5

Modernizr does just this.

Modernizr is an open-source JavaScript library that helps you build the next generation of HTML5 and CSS3-powered websites.

aking advantage of the new capabilities of HTML5 and CSS3 can mean sacrificing control over the experience in older browsers. Modernizr 2 is your starting point for making the best websites and applications that work exactly right no matter what browser or device your visitors use.

Thanks to the new Media Query tests and built-in YepNope.js micro-library as Modernizr.load(), you can now combine feature detection with media queries and conditional resource loading. That gives you the power and flexibility to optimize for every circumstance.

Check out the full list of features that Modernizr detects, or learn more about conditional resource loading with Modernizr.

4
  • I am looking for a 'more" complete browser functionalities detection. (It should at least covers 95% of existing standards) Oct 25, 2011 at 5:40
  • What "standards" do you need to cover? Oct 25, 2011 at 5:42
  • 1
    I can't imagine a more comprehensive suite for "existing standards" than Modernizr
    – Sathyajith Bhat
    Oct 25, 2011 at 6:12
  • @LarryMorries There are probably far more applicable standards than you can possibly imagine. Something like "at least 95% of existing standards" is unrealistic.
    – Daniel Beck
    Oct 25, 2011 at 21:33
-1

CSS3 and HTML5 are a set of features that browsers will support fully, in part, or not at all.

So what you really need to do is determine whether the specific features you need are present.

You can do this for many features using the jquery.support module.

-1

No, since most of it is only visible to the end user (Do you really want an executable to pop up a few hundred yes/no dialog boxes? "Can you see it now? [Yes] [No]"). What can be done is a best guess based on the user agent of or JavaScript objects in the browser and the known properties of each.

4
  • This is absolutely the wrong way to solve this problem and a bad and largely incorrect. Oct 25, 2011 at 5:37
  • 1
    It's interesting how this answer gets downvotes while a JavaScript script that does just this gets upvotes. Oct 25, 2011 at 6:20
  • @IgnacioVazquez-Abrams: It's the herd mentality. . .
    – surfasb
    Oct 25, 2011 at 6:27
  • @surfasb: Or experience dealing with feature detection, and what works and what doesn't. Sometimes "the herd" is right. Oct 25, 2011 at 16:57

Not the answer you're looking for? Browse other questions tagged .