简体   繁体   中英

Get javascript version from browser !=IE in asp.net

In my current logging class I log the browser, browser version and javascript version. The Javascript version I get through

HttpContext.Request.Browser.JScriptVersion

This works fine for IE, but not for any other browser. Is there another way (not javascript based) to detect the installed javascript version?

没有通过HTTP传输JavaScript版本的标准,因此,除非浏览器恰好符合IE的User-Agent标头格式,否则您将无法获取该信息

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM