function internet_ip() {
// Get the Internet IP-address
var internetaddress = "38.107.179.240";
return (internetaddress);
}
function internet_name() {
// Get the Internet host name
var internethostname = "38.107.179.240";
return (internethostname);
}
function client_ip() {
// Get the client IP address if possible
var clientip = "Kan inte läsa din dators IP-adress. Du har troligen en NAT (Bredbandsrouter)";
return (clientip);
}
function referer() {
// Get where the user came from
var referer_url = "";
return (referer_url);
}
function browser_plugins() {
// Print all web browser plugins
amount_plugins = navigator.plugins.length;
if (amount_plugins > 0) {
document.write ("
Du har " + amount_plugins + " plugins i din web-läsare
");
for (i = 0; i < amount_plugins; i++) {
plugin = navigator.plugins[i];
document.write("- " + plugin.name + "
");
document.write("- Filnamn: " + plugin.filename + "
");
document.write("- Beskrivning:   " + plugin.description + "
");
numTypes = plugin.length;
for (j = 0; j < numTypes; j++) {
mimetype = plugin[j];
if (mimetype) {
enabled = "ej aktiverad";
enabled_plugin = mimetype.enabledPlugin;
if (enabled_plugin && (enabled_plugin.name == plugin.name))
enabled = "aktiverad";
document.write("- Mime info.: " + mimetype.type);
document.write(" " + mimetype.description);
document.write(" " + mimetype.suffixes);
document.writeln(" " + enabled + "
");
}
}
document.write("
");
}
document.write("
");
}
else {
document.write("Du ser bara dina plugin här om du har firefox/mozilla");
}
}
// EOF