运行下面的程序,可得到你需要的资料<script>
s="appCodeName,appMinorVersion,appName,appVersion,browserLanguage,cookieEnabled,cpuClass,onLine,platform,systemLanguage,userAgent,userLanguage,userProfile"
ss=s.split(",")
t="";for (i=0;i<ss.length;i++){
eval("x=navigator."+ss[i]);
t=t+"navigator."+ss[i]+"="+x+"\n\n";}
alert(t);
</script>
s="appCodeName,appMinorVersion,appName,appVersion,browserLanguage,cookieEnabled,cpuClass,onLine,platform,systemLanguage,userAgent,userLanguage,userProfile"
ss=s.split(",")
t="";for (i=0;i<ss.length;i++){
eval("x=navigator."+ss[i]);
t=t+"navigator."+ss[i]+"="+x+"\n\n";}
alert(t);
</script>
<head> <TITLE>The Imagineer Web Construction: User Detail Scripts</TITLE> <!-- Screen Percentage -->
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin
function getwindowsize() {
if (navigator.userAgent.indexOf("MSIE") > 0) {
var sSize = (document.body.clientWidth * document.body.clientHeight);
return sSize;
} else {
var sSize = (window.outerWidth * window.outerHeight);
return sSize;
}
return;
}
// End -->
</script>
<!-- Get JavaScript Version Number -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
JavaScriptVersionNumber = "1.0";
// End -->
</SCRIPT> <SCRIPT LANGUAGE="JavaScript1.1">
<!-- Begin
JavaScriptVersionNumber = "1.1";
// End -->
</SCRIPT> <SCRIPT Language="JavaScript1.2">
<!-- Begin
JavaScriptVersionNumber = "1.2";
// End -->
</SCRIPT> <SCRIPT Language="JavaScript1.3">
<!-- Begin
JavaScriptVersionNumber = "1.3";
// End -->
</SCRIPT> <NOSCRIPT>
<B>Your browser does not currently support JavaScript.</B>
</NOSCRIPT> </HEAD>
<body TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000"> <!-- Write user details to the screen -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin var NavigatorApplicationVersion = navigator.appVersion;
var NavigatorVersionNumber = NavigatorApplicationVersion.substring(0,4);
var NavigatorAppCodeName = navigator. appCodeName;
var NavigatorUserAgent = navigator. userAgent;
var NavigatorPlatform = navigator. platform;
var NavigatorHistoryLength = history.length;
var WindowScreenWidth = window.screen.width;
var WindowScreenHeight = window.screen.height;
var WindowScreenAvailableWidth = window.screen.availWidth;
var WindowScreenAvailableHeight = window.screen.availHeight;
var BrowserName = navigator.appName; colors = window.screen.colorDepth;
var ColorMath = Math.pow (2, colors);
var ScreenPercentUsed = Math.round((getwindowsize()/(screen.width * screen.height)*100) * Math.pow(10, 0));
numPlugins = navigator.plugins.length;
document.writeln("<LEFT>");
document.write("<B>Browser Full Name is " + BrowserName + " " + NavigatorApplicationVersion + ".</B><BR>"); document.write("<B>Browser Code is " + NavigatorAppCodeName + ".</B><BR>"); document.write("<B>Browser Agent is " + NavigatorUserAgent + ".</B><BR>"); document.write("<B>Browser Version Number is " + NavigatorVersionNumber + ".</B><BR>"); document.write("<B>Browser Platform is " + NavigatorPlatform + ".</B><BR>"); document.write("<B>Browser History Length is " + NavigatorHistoryLength + ".</B><BR>"); document.write("<B>Browser Colors value is " + ColorMath + ".</B><BR>"); document.write("<B>Browser Color Depth is " + colors + ".</B><BR>"); document.write("<B>Browser Screen Width is " + WindowScreenWidth + ".</B><BR>"); document.write("<B>Browser Screen Height is " + WindowScreenHeight + ".</B><BR>"); document.write("<B>Browser Screen Maximum Width is " + WindowScreenAvailableWidth + ".</B><BR>"); document.write("<B>Browser Screen Maximum Height is " + WindowScreenAvailableHeight + ".</B><BR>"); document.write("<B>This window is using about " + ScreenPercentUsed + "% of your available screen." + ".</B><BR>"); document.write("<B>Your browser supports JavaScript version " + JavaScriptVersionNumber + ".</B><BR>")
if (document.referrer) {
document.write("<B>Thanks for visiting us from ");
document.write(document.referrer+"</B><BR>");
}
if (window.screen.fontSmoothingEnabled == true)
document.write("<B>Browser Font Smothing is " + "Yes" + ".</B><BR>");
else
document.write("<B>Browser Font Smothing is " + "No" + ".</B><BR>"); if (navigator.javaEnabled() < 1)
document.write("<B>Browser Java Enabled is " + " No" + ".</B><BR>");
if (navigator.javaEnabled() == 1)
document.write("<B>Browser Java Enabled is " + " Yes" + ".</B><BR>");
if(navigator.javaEnabled() && (navigator.appVersion.indexOf("4.") != 0) && (navigator.appName != "Microsoft Internet Explorer")) {
vartool=java.awt.Toolkit.getDefaultToolkit();
addr=java.net.InetAddress.getLocalHost();
document.write("<B>Your Host Name is " + addr.getHostName() + ".</B>");
document.writeln("<br>");
document.write("<B>Your IP Address is " + addr.getHostAddress() + ".</B>");
document.writeln("<br>");
} if ((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName != "Microsoft Internet Explorer") && (navigator.appName.indexOf("Netscape") != -1)){
ip = "" + java.net.InetAddress.getLocalHost().getHostAddress();
document.write("<B>Your IP address is " + ip + ".</B><BR>"); hostname = "" + java.net.InetAddress.getLocalHost().getHostName();
document.write("<B>Your Host Name is " + hostname + ".</B><BR>");
}
else {
document.write("<B>IP Address only shown in Netscape with Java enabled!" + ".</B><BR>");
} document.writeln("</LEFT>"); if (numPlugins > 0)
document.writeln("<CENTER><b><font size=+3>Installed plug-ins are</font></b></CENTER><br>");
else
document.writeln("<CENTER><b><font size=+2>No plug-ins </font></b></CENTER><br>");
document.writeln("<hr>");
for (i = 0; i < numPlugins; i++) {
plugin = navigator.plugins[i];
document.write("<center><font size=+1><b>");
document.write(plugin.name);
document.writeln("</b></font></center><br>");
document.writeln("<dl>");
document.writeln("<dd>File name:");
document.write(plugin.filename);
document.write("<dd><br>");
document.write(plugin.description);
document.writeln("</dl>");
document.writeln("<p>");
document.writeln("<table width=100% border=2 cellpadding=5>");
document.writeln("<tr>");
document.writeln("<th width=20%><font size=-1>Mime Type</font></th>");
document.writeln("<th width=50%><font size=-1>Description</font></th>");
document.writeln("<th width=20%><font size=-1>Suffixes</font></th>");
document.writeln("<th><font size=-1>Enabled</th>");
document.writeln("</tr>");
numTypes = plugin.length;
for (j = 0; j < numTypes; j++) {
mimetype = plugin[j];
if (mimetype) {
enabled = "No";
enabledPlugin = mimetype.enabledPlugin;
if (enabledPlugin && (enabledPlugin.name == plugin.name))
enabled = "Yes";
document.writeln("<tr align=center>");
document.writeln("<td>");
document.write(mimetype.type);
document.writeln("</td>");
document.writeln("<td>");
document.write(mimetype.description);
document.writeln("</td>");
document.writeln("<td>");
document.write(mimetype.suffixes);
document.writeln("</td>");
document.writeln("<td>");
document.writeln(enabled);
document.writeln("</td>");
document.writeln("</tr>");
}
}
document.write("</table>");
document.write("<p><hr><p>");
} // End -->
</SCRIPT> </BODY>
</HTML>