[thelist] breaking out of someone else's frameset

Burns, Martin BURNSM at rbos.co.uk
Fri, 3 Dec 1999 09:30:47 -0000


We've actually got one on thesite already from last time
this got asked - not this range of options tho'.

Someone want to add them as a comment to
http://evolt.org/index.cfm?menu=8&cid=249 ?

<tip type='1st place to check'>
Got a query? Save everyone's time by searching
http://evolt.org/ and http://lists.evolt.org/
before asking it. Many of the common "How do
I..?"s have already been asked and solved.
</tip>
Cheers
Martin Burns
xtn 20867
External tel: 0131 523 0867
mobile: 0793 151 8480
> <><><><><><><><><><><><><><><><><><><><><><>
> 
> -----Original Message-----
> From:	Scott Dexter [SMTP:sgd@ti3.com]
> Sent:	Friday, December 03, 1999 1:59 AM
> To:	'thelist@lists.evolt.org'
> Subject:	RE: [thelist] breaking out of someone else's frameset
> 
> 
> *** Warning : this message originates from the Internet ****
> 
> because I actually saved responses when I asked this:
> 
> (Courtesy Rudy Limeback --I beat you to it!)
> it's a, um, frequently asked question, one which, by coincidence, i once
> started collecting answers for, please don't ask why, i don't even use a
> script myself
> 
> here's my collection so far
> 
>   if (window != window.top)  top.location.href = location.href;
> 
>   if (window != top)  top.location.replace(document.location.href)
> 
>   if (location.href != top.location.href)  location.href = "index.html"
> 
>   if (self != top) top.location = self.location
> 
>   if (self.parent.frames.length != 0)
> self.parent.location=document.location;
> 
>   if (self.parent.frames.length != 0)  self.parent.location="index.html";
> 
>   if (parent.frame.length !=0) { window.open(self.location);
> window.stop(); }
> 
> please don't ask me to explain relative merits of one method over another
> 
> wouldn't mind hearing from a more skilled javascripter, though...
> 
> ___________________
> rudy limeback
> 
> sgd
> --
> think safely
> 
> > -----Original Message-----
> > From: McCreath_David [mailto:McCreath_David@xmail.asd.k12.ak.us]
> > Sent: Thursday, December 02, 1999 7:43 PM
> > To: 'the list'
> > Subject: [thelist] breaking out of someone else's frameset
> > 
> > 
> > Does anyone know of a way to prevent someone from trapping 
> > one of your pages
> > in a frame? 
> > 
> 
> _______________________________________________________
> unsubscribe+options: http://lists.evolt.org/mailman/listinfo/thelist
> tip harvester: http://lists.evolt.org/harvest/
> email archive: http://lists.evolt.org/archive/
> http://evolt.org/  Workers of the Web, evolt !
The Royal Bank of Scotland plc is registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.

The Royal Bank of Scotland plc is regulated by IMRO, SFA and Personal Investment Authority.

This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer.

'Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent.'