Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
<script language="JavaScript">
<!-- vor alten Browsern verstecken
with (document) {
write("<font face=Arial size=3 color=#000066><table width=70% border=0>");
write("<td width=35% valign=top>Codename</td>");
write("<td width=25% valign=top>appCodeName</td>");
write("<td valign=top>" + navigator.appCodeName);
write("</td><tr>");
write("<td valign=top>Browsername</td>");
write("<td valign=top>appName</td>")
write("<td valign=top>" + navigator.appName);
write("</td><tr>");
write("<td valign=top>Browser-Version</td>");
write("<td valign=top>appVersion</td>")
write("<td valign=top>" + navigator.appVersion);
write("</td><tr>");
write("<td valign=top>Plattformspezifische Informationen</td>");
write("<td valign=top>userAgent</td>");
write("<td valign=top>" + navigator.userAgent);
write("</td><tr>");
write("<td valign=top>Betriebssystemtyp</td>");
write("<td valign=top>navigator.platform</td>");
write("<td valign=top>" + navigator.platform);
write("</td><tr>");
write("<td valign=top>Komplette Adresse</td>");
write("<td valign=top>href</td><td >"
+ location.href + "</td><tr>");
write("<td valign=top>Das verwendete Protokoll</td>");
write("<td valign=top>protocol</td><td>"
+ location.protocol + "<td><tr>");
write("<td valign=top>Name des Servers</td>");
write("<td valign=top>hostname</td><td>"
+ location.hostname + "</td><tr>");
write("<td valign=top>Name des Servers</td>");
write("<td valign=top>host</td><td>"
+ location.host + "</td><tr>");
write("<td valign=top>Portnummer</td>");
write("<td valign=top>port</td><td>"
+ location.port + "</td><tr>");
write("<td valign=top>Pfad- und Dateiname</td>");
write("<td valign=top>pathname</td><td>"
+ location.pathname + "</td><tr>");
write("</table>");
}
// -->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- Jeff Lance (jflance@aol.com) -->
<!-- Begin
var navName = navigator.appName ;
var brVer = navigator.userAgent; var brNum; var reg = new RegExp('/');
function verNumIE() {
var brVerId = brVer.indexOf('MSIE');
brNum = brVer.substr(brVerId,8);
}
function verNumOt() {
var brVerId = brVer.search(reg);
brNum = brVer.substring(brVerId+1);
}
// End -->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Jeff Lance (jflance@aol.com) -->
<!-- Begin
if (navigator.appName == 'Microsoft Internet Explorer') {
verNumIE() ;
} else {
verNumOt() ;
}
document.write("<CENTER>");
document.write("<TABLE BORDER=2>");
document.write("<CAPTION Align=Top><b>Ihr Browser</b></CAPTION>");
document.write("<Tr>");
document.write("<td><b>Browser Name : </b></td>");
document.write("<td>",navName,"</td>");
document.write("</Tr>");
document.write("<Tr>");
document.write("<td><b>Platform Name : </b></td>");
document.write("<td>",navigator.platform,"</td>");
document.write("</Tr>");
document.write("<Tr>");
document.write("<td><b>Browser Version : </b></td>");
document.write("<td>",brNum,"</td>");
document.write("</Tr>");
document.write("<Tr>");
document.write("<td><b>Is Java enabled ? : </b></td>");
if ( !(navigator.javaEnabled()) ) {
java="No" ;
} else {
java="Yes" ;
}
document.write("<td>",java,"</td>");
document.write("</Tr>");
document.write("</TABLE>");
document.write("</CENTER>");
// End -->
</script>
<script language="JavaScript">
var d=document;
if (d.all) {
d.location.href="explorer.html";
} else if ((!d.all) && (d.getElementById)) {
d.location.href="mozilla.html";
} else if (d.layers) {
d.location.href="netscape.html";
} else {
d.location.href="defaultBrowser.html";
}
</script>