30. juni 2004 - 11:04
Der er
8 kommentarer og 1 løsning
hjælp til infomation om brugere
jeg har et lille problem hvodan få man infomation om ens brugere, altså sådan her Browser: Resolution: Klokkeslet: Dag: siden den er så svær giver jeg 200 point
Annonceindlæg fra Trustworks
Tillid i en Zero-Trust verden
Med voksende trusler, nye EU-krav og øget kompleksitet er cybersikkerhed nu en central ledelsesopgave på linje med strategi og økonomi.
<script language="javascript"> <!-- window.resizeTo(window.screen.availwidth,window.screen.availheight); window.moveTo(0,0); document.write("Browser: " + navigator.appName + "<br>") document.write("Resolution: " + window.screen.width + " x " + window.screen.height + "<br>") idag = new Date(); var time = idag.getHours() var minut = idag.getMinutes() var sekund = idag.getSeconds() if (minut < 10) {minutes = "0" + minut} if (sekund < 10) {sekund = "0" + sekund} document.write("Klokkeslet: " + time + ":" + minut + ":" + sekund + "<br>") if (idag.getDay() == 0) { document.write("Søndag den ") } if (idag.getDay() == 1) { document.write("Mandag den ") } if (idag.getDay() == 2) { document.write("Tirsdag den ") } if (idag.getDay() == 3) { document.write("Onsdag den ") } if (idag.getDay() == 4) { document.write("Torsdag den ") } if (idag.getDay() == 5) { document.write("Fredag den ") } if (idag.getDay() == 6) { document.write("Lørdag den ") } document.write(idag.getDate() + ". ") if (idag.getMonth() == 0) { document.write("januar") } if (idag.getMonth() == 1) { document.write("februar") } if (idag.getMonth() == 2) { document.write("marts") } if (idag.getMonth() == 3) { document.write("april") } if (idag.getMonth() == 4) { document.write("maj") } if (idag.getMonth() == 5) { document.write("juni") } if (idag.getMonth() == 6) { document.write("juli") } if (idag.getMonth() == 7) { document.write("august") } if (idag.getMonth() == 8) { document.write("september") } if (idag.getMonth() == 9) { document.write("oktober") } if (idag.getMonth() == 10) { document.write("november") } if (idag.getMonth() == 11) { document.write("december") } if (idag.getYear() < 100) { document.write(" - 19" + idag.getYear() + "<br>") } if (idag.getYear() > 100) { document.write(" - " + idag.getYear() + "<br>") } if (navigator.appName == "Netscape") { adresse = java.net.InetAddress.getLocalHost() adresse2 = java.net.InetAddress.getLocalHost() document.write("Domæne: " + adresse.getHostName() + "<br>") document.write("IP: " + adresse2.getHostAddress() + "<br>") } else {} //--> </script>