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.

Thanks