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
E-Mail User Info
This script automatically sends you an e-mail of the users refered page, system, browser, address, and loading time. The only draw back is that you have to have a button on your page. It does nothing but it needs to be there.
Insert into <HEAD>
<script language="JavaScript"> <!-- Hide from old browsers var startTime = new Date(); startTime = startTime.getTime(); var submissions = 0; function checkForDuplicate() { if (document.form1) { document.form1.REFERRER.value = document.referrer; document.form1.PLATFORM.value = navigator.appName + " " + navigator.appVersion; submissions++; if (submissions > 1) return false; else return true; } else { return false; } } function doneLoading() { var stopTime = new Date(); stopTime = stopTime.getTime(); document.form1.LOADING_TIME.value = ((stopTime - startTime) / 1000) + " seconds"; document.form1.PAGE.value = document.title; document.form1.SUBMITTER.click(); } // --> </script>
Insert into <BODY>
body onLoad="doneLoading()"> <FORM name="form1" METHOD=post action="mailto:YOUR EMAIL HERE ?SUBJECT=YOUR SUBJECT" enctype="text/plain" onSubmit="return checkForDuplicate()"> <input type="hidden" name="PAGE" value="none"> <input type="hidden" name="REFERRER" value="none"> <input type="hidden" name="PLATFORM" value="none"> <input type="hidden" name="LOADING_TIME" value="none"> <input type="submit" name="SUBMITTER" value="CLICK ME"> </form>
Other Options
An example is: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="doneLoading()"> or <body onLoad="doneLoading()"> Now put this where ever you want in your HTML document <FORM name="form1" METHOD=post action="mailto:YOUR EMAIL HERE ?SUBJECT=YOUR SUBJECT" enctype="text/plain" onSubmit="return checkForDuplicate()"> <input type="hidden" name="PAGE" value="none"> <input type="hidden" name="REFERRER" value="none"> <input type="hidden" name="PLATFORM" value="none"> <input type="hidden" name="LOADING_TIME" value="none"> <input type="submit" name="SUBMITTER" value="CLICK ME"> </form> Don't forget to change YOUR EMAIL HERE, YOUR SUBJECT, and CLICK ME (if you want to)