what does this script do???

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

Can someone tell me what the function of this script is??? I replaced the <> tags with * because I didn't know how to post it otherwise.

Thanks, disaster-master

*Script language="JavaScript"*
*!--
if (window!= top)
top.location.href=location.href
//--*
*/script*
*/head*

disaster-master's picture

She has: 2,154 posts

Joined: May 2001

OPPS.....don't slam me. I realize now that I should have posted this in the web page authoring section.......sorry.

disaster-master

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

moving there now... 8]

They have: 105 posts

Joined: Jun 2001

I know what it does. If this page is loaded in a frameset, it breaks out of it.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.