Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>How many times have you been here before?</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. expireDate = new Date expireDate.setYear(expireDate.getYear()+1) if (document.cookie == "") { hitCt = 0 } else { hitCt = eval(document.cookie.split("=")[1]) } hitCt++ document.cookie = "pageHit="+hitCt+";expires=" + expireDate.toGMTString() // End hiding script --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE><H1> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers document.write("You have visited this page " + hitCt + " times.") // End hiding script --> </SCRIPT></H1> </BODY> </HTML>