Script Categories













User Details >>> Browser Details.

If your visitors are not quite sure the details of the browser they are using, you can show them with the neat little script. The script will produce a table that shows the browser name, version, code name, and user agent.

Browser Name:
Browser Version:
Browser Code Name:
User-Agent:

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function whatBrowser() {
document.Browser.Name.value=navigator.appName;
document.Browser.Version.value=navigator.appVersion;
document.Browser.Code.value=navigator.appCodeName;
document.Browser.Agent.value=navigator.userAgent;
}
window.onload=whatBrowser;
// End -->
</script>
<center>
<TABLE BORDER>
<FORM NAME="Browser">
<TR>
<TD>
Browser Name: </TD>
<TD>
<INPUT TYPE="txt" NAME="Name" Size="70"></TD>
</TR>
<TR>
<TD>
Browser Version: </TD>
<TD>
<INPUT TYPE="txt" NAME="Version" Size="70"></TD>
</TR>
<TR>
<TD>
Browser Code Name: </TD>
<TD>
<INPUT TYPE="txt" NAME="Code" Size="70"></TD>
</TR>
<TR>
<TD>
User-Agent: </TD>
<TD>
<INPUT TYPE="txt" NAME="Agent" Size="70"></TD>
</TR>
</FORM>
</TABLE>
</center>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©