Detecting Safari 5 with Javascript
How can i detect that the b开发者_JS百科rowser is Safari 5 or higher?
I think you want to know if Safari is v5 or higher because of some feature.
In this case you can use also http://api.jquery.com/jQuery.support/
Here's a good article on this topic:
http://www.quirksmode.org/js/detect.html
A bit more involved and with more code than maybe you are looking for, but it should certinaly help!
精彩评论