View Full Version : Fooling document.referrer....
Scke_Xival
03-19-2003, 05:36 AM
Does any one know a way to fool the javascript command: document.referrer and make it so that the document.referrer is what you wish it to be?
Hmmm...I'm not certain this is possible. In any event, in combination with your other thread "Faking IP?" (http://codingforums.com/showthread.php?s=&threadid=16613), I hope you're not trying to accomplish something that's illegitimate/ outside the bounds of responsible scripting. Such questions will not be entertained on CF.
beetle
03-19-2003, 04:32 PM
No, as you can plainly see here (http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/referrer.asp), the referrer property is read-only.
scroots
03-19-2003, 06:18 PM
in some web browsers you can disable javascript.
scroots
Scke_Xival
03-19-2003, 10:46 PM
nah... im just woking on making a secure web site... Just seeing whether there are possible bugs to somethings
Roy Sinclair
03-20-2003, 02:40 PM
Document.referrer is provided by the browser so it's possible for that information to be incorrect. I know it's not always right because I can see records with the referrer in the logs on my server which show pages that simply don't have links to my pages on occasion.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.