Added webkit detection scripts and info on how to use them.
[WebKit-https.git] / WebKitSite / webdevelopers / webkit_version.html
1 <html>
2 <head>
3   <script type="text/javascript" src="webkit_version.js"></script>
4   <title>WebKit version detection sample page</title>
5 </head>
6
7 <body>
8   <h1>
9     <script type="text/javascript">
10       var version = get_webkit_version();               
11       document.write(version['major']+" "+version['minor']);
12       if (version['is_nightly']) {
13         document.write(" nightly build");
14       } else {
15         document.write(" system WebKit");
16       }
17     </script>
18   </h1>
19 </body>
20 </html>