Source de paramsnav.html
1: <HTML>
2: <HEAD>
3: <TITLE>Informations sur le navigateur</TITLE>
4: <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
5: <link REL="stylesheet" TYPE="text/css" HREF="https://fabien-torre.fr/include/css/ft-v1.css">
6: </HEAD>
7: <BODY>
8: <DIV CLASS="menu">
9: <DIV CLASS="partmenu">
10: <UL>
11: <LI> voir le <A HREF="https://fabien-torre.fr/Enseignement/tp/JavaScript/paramsnav.html.src">code de cette page</A>
12: <LI> retour à la page des
13: <A HREF="https://fabien-torre.fr/Enseignement/tp/JavaScript/">Travaux pratiques JavaScript</A>
14: <LI> retour à la page de <A HREF="https://fabien-torre.fr/">Fabien Torre</A>
15: </UL>
16: </DIV>
17: </DIV>
18: <DIV CLASS="page">
19:
20: <H1>Informations sur le navigateur</H1>
21: <BR><BR>
22:
23: <CENTER>
24:
25: <TABLE BORDER="1" CELLPADDING="10">
26: <SCRIPT LANGUAGE="JavaScript">
27:
28: document.write('<TR><TH ALIGN="left">Code</TH><TD>');
29: document.write(navigator.appCodeName)
30: document.write('</TD></TR>');
31:
32: document.write('<TR><TH ALIGN="left">Nom</TH><TD>');
33: document.write(navigator.appName)
34: document.write('</TD></TR>');
35:
36: document.write('<TR><TH ALIGN="left">Version</TH><TD>');
37: document.write(navigator.appVersion)
38: document.write('</TD></TR>');
39:
40: document.write('<TR><TH ALIGN="left">Agent</TH><TD>');
41: document.write(navigator.userAgent)
42: document.write('</TD></TR>');
43:
44: </SCRIPT>
45: </TABLE>
46: </CENTER>
47:
48: <BR><BR><BR>
49: </DIV>
50: </BODY>
51: </HTML>