"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
exxos wrote on 03 mrt 2005 in comp.lang.javascript: I'm trying to list to a html page where the referer is, There are a
lot of ways ive tried and work, but the problem if my mainpage uses
frames, and no matter where I do the referer check it just reports the
website url, does anyone know a cure or workaround other than trashing
the frames ?
Then that really is the referer.
Frames are evil, trash them anyway.
Cann't you get the referrer on the main frameset page?
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
I managed to get in in the frameset, though im trying to match the referer
to itself to see if this works...
if (document.referrer&&document.referrer!=document.re ferrer)
alert('Found');
might be setout wrong ? though the referer will always match itself (I
assume) so it should flag up the alter box.. but dont do a thing.... if I
flag up a alert for the referer thats correct...... *lost* ?!
Chris