开发者

Detecting Safari 5 with Javascript

开发者 https://www.devze.com 2023-01-26 13:19 出处:网络
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.

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消