what does this programming statement do?

L

Laura

Could you tell me what this would do for my website. Someone said they put
this at the top of all their web pages.
if (parent.frames.length > 0)
{
parent.location.href = location.href;
}
 
R

Ronx

It's a framebuster script. If a rogue website frames your page, the
script will break the frames and show your page the way you would like
it displayed.
 
Top