Window navigator.appName Property
- ກ່ອນນີ້ appCodeName
- ຫລັງຈາກນີ້ appVersion
- ກັບຄືນລະດັບກ່າວ ການກະກຽມຂອງຄະນະຜູ້ດຳເນີນການຂອງຈາກຄອນເບີ້ເຊີ່ງ Navigator
Definition and Usage
appName
This property returns the browser name.
appName
Properties are read-only.
Tip:For compatibility reasons, all modern browsers return "Netscape".
Example
Example 1
Get browser name:
let browser = navigator.appName;
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.appName
ຜົນກະທົບ
ປະເພດ | ການອະທິບາຍ |
---|---|
ຄວາມຄິດ | ຊື່ບຸນຄົ້ນຫາ |
浏览器支持
所有浏览器都支持 navigator.appName
ຄື
ເຄຣີມ | ອີອີກ | ເອດເຈ | ຟຣີເດີ້ຊັນ | ແຊບຟາຣີ | ໂອເປຣາ |
---|---|---|---|---|---|
ເຄຣີມ | ອີອີກ | ເອດເຈ | ຟຣີເດີ້ຊັນ | ແຊບຟາຣີ | ໂອເປຣາ |
ການສະໜັບສະໜູນ | ການສະໜັບສະໜູນ | ການສະໜັບສະໜູນ | ການສະໜັບສະໜູນ | ການສະໜັບສະໜູນ | ການສະໜັບສະໜູນ |
- ກ່ອນນີ້ appCodeName
- ຫລັງຈາກນີ້ appVersion
- ກັບຄືນລະດັບກ່າວ ການກະກຽມຂອງຄະນະຜູ້ດຳເນີນການຂອງຈາກຄອນເບີ້ເຊີ່ງ Navigator