[thelist] Re: Stopping frame-using content thieves

Paul Bennett Paul.Bennett at eyede.com
Mon Jan 24 18:47:22 CST 2005


no, you don't know a page is in a frame until it gets compiled in the 
frameset in the browser window. Thus the only way to do it is to sniff 
using client-side javascript to see if frames are present.



M. Seyon wrote:

> Message from Antonio Bueno Delgado (1/24/2005 07:43 PM)
>
>> Hello, Marc.
>>
>> > Now what about the guys who place your pages in a frame? Yes I know 
>> you can
>> > use Javascript to bust out of the frame but that doesn't sound 
>> vindictive
>> > enough to me. Is it possible to do something similar to the bandwidth
>> > thieves solution?
>>
>> Of course. And it's almost the same. The JavaScript you mention does
>> something like this:
>>
>> if (framed) then {reload my page at the top}
>>
>> What you want to do would be:
>>
>> if (framed) then {redirect to vindictive-enough page}  :D
>>
>> Check http://www.quirksmode.org/js/framebust.html for useful info.
>
>
> Hi Antonio, thanks for the response.
>
> As a follow up, is there a way to do this without JS, ideally 
> server-side so I don't need to clutter code that gets sent to the client.
>
> regards.
> -marc
>
> -- 
> Trinidad Carnival in all its photographic glory. Playyuhself.com
> http://www.playyuhself.com/


-- 
Paul Bennett
Web Technologies Developer
Eyede International Limited
Level 1, 5 Bouverie Street
PETONE
PO Box 31 012
Lower Hutt
Phone     +64 4 939 8764
Fax      +64 4 939 6719
www.eyede.com




More information about the thelist mailing list