Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: now: prevent being "framed" (was: Re(2): FLASH: Slick 3d cube movies-uploaded!) |
From: | David Gary |
Date: | Fri, 19 Feb 1999 17:42:38 GMT |
Colin Moock wrote:
> flashershocker [dot] com,Internet writes:
> >Also some sites are simply not designed for frames. Web designers or
> >"wanna be" designers should always get permission from the author of the site
> >before setting a hyperlink.
> DG, if it's a real concern for you, add this javascript to the <HEAD> of the
> pages you think are likely to be targets for "framing" by other sites:
>
> function preventframing() {
> if (self.parent.frames.length != 0)
> {
>
> self.parent.location="http://www.yoursite.com/yourdir/yourpage.html";
> }
>
> then add this to the <BODY> tag of those pages:
>
> <BODY ONLOAD="preventframing()">
>
Hey thanks for the note Colin,
I thought there was some kinda script for that.
Im curious, does that script support NS and IE 3.0 and up?
-DG-
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: now: prevent being "framed" (was: Re, Erik [gearik] Mattheis
Re: now: prevent being "framed" (was: Re, Colin Moock
Replies
Re: FLASH: Slick 3d cube movies-uploaded, Cheri Harder
Re: FLASH: Slick 3d cube movies-uploaded, David Gary
now: prevent being "framed" (was: Re(2):, Colin Moock
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]