js如何判断当前浏览类型是谷歌,火狐,IEfunction myBrowser(){ var userAgent = navigator.userAgent 取得浏览器的userAgent字符串 var isOpera = userAgent.indexOf(&qu2023-02-20JavaScript200