I basically need to write someone's http_referer to a cookie in javascript.
I'm not exactly sure how to access environmental variables like that in JS though. I so very rarely do any JS work its just slipping my mind.
I basically need to write someone's http_referer to a cookie in javascript.
I'm not exactly sure how to access environmental variables like that in JS though. I so very rarely do any JS work its just slipping my mind.
I think it's document.referrer.
PageRank.net
you should be able to.
parent.document.referrer and document.referrer should both work.
Bookmarks