i want to code up my custom 404 error page with a javascript that will grab the referring URL (where the bad link is) and pass it to a page that will email me that link
i don't know how to grab the referrer with javascript, nor do i know how to output it on the end of the refresh URL
meta http-equiv="REFRESH" content="0; url=pagethatwillemailme.cfm?404refer=<output the referrer here>"
any help on this would be great, my javascript book doesn't cover it
i don't know how to grab the referrer with javascript, nor do i know how to output it on the end of the refresh URL
meta http-equiv="REFRESH" content="0; url=pagethatwillemailme.cfm?404refer=<output the referrer here>"
any help on this would be great, my javascript book doesn't cover it