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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top