Script Categories

Page Details >>> 404 Referrer.

Do you get lots of 404 "file not found" errors every time you change a file's name? Use this simple script to include in a HTML form (a hidden field) that contains the referring page's address.

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

<form name=404form>
<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
var from = document.referrer;
document.write("<input type=text name=referrer value='" + from + "'>");
// End -->

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!).

online casino in Canada