跨浏览器javascript

http://mybloggers.blog.163.com/blog/static/100386509200810611142232/

 

判断浏览器是否为“firefox” or ”Microsoft Internet Explorer“

indexOf(window.navigator.appName.indexOf()>0)

http://www.cnblogs.com/Timac/archive/2012/11/05/2754832.html

你可能感兴趣的:(JavaScript)