Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Hostname
(works only for Netscape Browsers with Java enabled) If you would like to get your visitors computer hostname, use this script. Very cool.
Netscape Only
Insert into <HEAD>
Insert into <BODY>
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin netscapeTest = parseInt(navigator.appVersion) explorerTest = navigator.appName.indexOf("Microsoft") + 1 function netscapeThree() { if (navigator.javaEnabled()) { userDomain = java.net.InetAddress.getLocalHostName() txt = "I bet your hostname is " + (userDomain.toString()) + " !"; } else { txt = "You are browsing without Java enabled and therefore I can\'t find out what your hostname is."; } } function netscapeFour() { if (navigator.javaEnabled()) { baseAddress = java.net.InetAddress.getLocalHost() userDomain = baseAddress.getHostName() txt = "I bet your hostname is " + (userDomain.toString()) + " !"; } else { txt = "You are browsing without Java enabled and therefore I can\'t find out what your hostname is."; } } if ((explorerTest == "0") && (netscapeTest == "3")) { netscapeThree() } else if ((explorerTest == "0") && (netscapeTest == "4")) { netscapeFour() } else { txt = "It appears you are using Internet Explorer - and we can not find your hostname in that browser." } alert(txt) // End --> </SCRIPT>
Other Options