Window navigator.appVersion property
- 上一页 appName
- 下一页 cookieEnabled
- 返回上一层 Window Navigator
Definition and Usage
appVersion
The property returns the browser version.
appVersion
Properties are read-only.
Example
Example 1
Get browser version:
let version = navigator.appVersion;
Example 2
Display all navigator properties:
let text = "<p>Browser CodeName: " + navigator.appCodeName + "</p>" + "<p>Browser Name: " + navigator.appName + "</p>" + "<p>Browser Version: " + navigator.appVersion + "</p>" + "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>" + "<p>Browser Language: " + navigator.language + "</p>" + "<p>Browser Online: " + navigator.onLine + "</p>" + "<p>Platform: " + navigator.platform + "</p>" + "<p>User-agent header: " + navigator.userAgent + "</p>";
ວິທະຍານ
navigator.appVersion
ຜົນກະທົບ
ຊະນິດ | ອະທິບາຍ |
---|---|
ສະແນນ | 版本ບັດສາດອານຸສາວະພາບ |
浏览器支持
所有浏览器都支持 navigator.appVersion
:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
支持 | 支持 | 支持 | 支持 | 支持 | 支持 |
- 上一页 appName
- 下一页 cookieEnabled
- 返回上一层 Window Navigator