Maison >interface Web >js tutoriel >JS obtient complètement les informations du navigateur IE, y compris le type, la version, la langue, etc._compétences javascript
Type de navigateur | <script>document.write(navigator.appName)</script> | Version du navigateur | <script>document.write(navigator.appVersion)</script> |
Langage du navigateur | <script>document.write (navigator.browserLanguage) </script> | <script>document.write(navigator.platform)</script> 🎜> | |
Langue système | <script>document.write(navigator.systemLanguage )</script> > | ||
<script>document.write(navigator.onLine)</script> | ; Résolution d'écran | <script>document.write(window.screen.width "x" window. screen.height)</script>< /td> | |
Couleur | ;|||
Lissage des polices | <script>document.write( window.screen.fontSmoothingEnabled)</script> | <script>document.write(navigator.appMinorVersion)</script> | ;appCodeName | <script>document.write(navigator.appCodeName)< ;/script> <br><tr> <br><td>cookieEnabled</td> <br><td> <br><script>document.write(navigator.cookieEnabled)</script> ;/td> |
taintEnabled | <script>document.write(navigator .taintEnabled())</script> > |