My school assignment is to use browser detect to get the name and variation of a browser. I have been looking for detectible features, but the codes are way long.

Document.all is good for seeing if this is explorer 4+, but what is a good thing for finding explorer 7? Explorer 8? What is a feature exclusive to Safari? To Chrome? to Firefox?

This seems really hard, as browsers seem to be trying to get more compliant, that means there is less variation to check on.


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.