有没有任何关于浏览器客户端的返回数据的对象或方法?
例如,我需要检测浏览器是否为IE(Internet Explorer)。以下是代码片段。
function isInternetExplorer() { if(navigator.appName.indexOf("Microsoft Internet Explorer") != -1) { return true; } return false; }
有没有更好的方法?
用户名或邮箱地址
密码