[thelist] Frame busting

Madhu Menon madhu at asiacontent.com
Mon Sep 11 13:00:30 CDT 2000

At 10:30 PM 9/11/2000, you wrote:
> >I want to write a general purpose frame busting script for when your site
> >is loaded into someone else's frameset.

Um, I think this should do it:

if (window != top) top.location.href = location.href;

(right, Jeff?)

(who's nothing close to a Javascript expert)

<<<   *   >>>
Madhu Menon
Webmaster, India.CNET.com
The source for computers and technology

ARTICLE OF THE DAY: Photoshop 6.0 Beta reviewed!
Read the review at: http://india.cnet.com/software/bizapps/photoshop60beta/

More information about the thelist mailing list