fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <title>获取浏览器名称和版本号</title> <script src="http://www.fmpq.com/jscss/jquery/1.8.2/jquery.min.js" type="text/javascript"></script> </head> <body> <p></p> <script> $(function () { if ($.support) { $("p").html($.browser.version); } }); </script> </body> </html>
运行结果