469,576 Members | 1,677 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,576 developers. It's quick & easy.

Ive just written an anti frame breaking javascript... What to do with it?

Hi,

I took an interest a few months ago in an anti framebreaker
javascript. All my research told me that it was impossible. If a
website is loaded into a frame/iframe then if it has frame breaking
javascript it will break out of that frame and there is nothing you
can do about it except to screenscrape.

So I decided to challenge that, and I wrote a counter javascript that
forces a page to stay in a frame. It worked after months of work! Now,
I have no use for it. Any ideas?

Apr 6 '07 #1
4 6590
Mike wrote:
Hi,

I took an interest a few months ago in an anti framebreaker
javascript. All my research told me that it was impossible. If a
website is loaded into a frame/iframe then if it has frame breaking
javascript it will break out of that frame and there is nothing you
can do about it except to screenscrape.

So I decided to challenge that, and I wrote a counter javascript that
forces a page to stay in a frame. It worked after months of work! Now,
I have no use for it. Any ideas?
Try to sell it to people who like to steal other people's content, because I
cannot think of any other use.
Or publish it here if you want us to counter your anti-framebreaking script.
;-)
Regards,
Erwin Moller
Apr 6 '07 #2
Mike said the following on 4/6/2007 8:36 AM:
Hi,

I took an interest a few months ago in an anti framebreaker
javascript.
You couldn't do it then and you can't do it now.
All my research told me that it was impossible.
Believe your research, it is correct.
If a website is loaded into a frame/iframe then if it has frame breaking
javascript it will break out of that frame and there is nothing you
can do about it except to screenscrape.
Retrieve it from your server, serve it as your own page. It is called
"content stealing".
So I decided to challenge that, and I wrote a counter javascript that
forces a page to stay in a frame.
No you didn't.
It worked after months of work!
I don't believe you.
Now, I have no use for it.
Because it doesn't work?
Any ideas?
Lots of them.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 6 '07 #3
On Apr 6, 6:05 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
Mike said the following on 4/6/2007 8:36 AM:
Hi,
I took an interest a few months ago in an anti framebreaker
javascript.

You couldn't do it then and you can't do it now.
All my research told me that it was impossible.

Believe your research, it is correct.
If a website is loaded into a frame/iframe then if it has frame breaking
javascript it will break out of that frame and there is nothing you
can do about it except to screenscrape.

Retrieve it from your server, serve it as your own page. It is called
"content stealing".
So I decided to challenge that, and I wrote a counter javascript that
forces a page to stay in a frame.

No you didn't.
It worked after months of work!

I don't believe you.
Now, I have no use for it.

Because it doesn't work?
Any ideas?

Lots of them.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/

I know how touchy people can get about anti framebreaking scripts but
you need to look at every possible use for one and I believe there are
many completely innocent uses for one. I have heard that Yahoo use/
used an anti framebreaking javascript on their site to keep pages
framed on their image search. Also, a lot of possible application uses
for browsers that run in browsers.

Apr 6 '07 #4
Mike said the following on 4/6/2007 5:55 PM:
On Apr 6, 6:05 pm, Randy Webb <HikksNotAtH...@aol.comwrote:
>Mike said the following on 4/6/2007 8:36 AM:
<snip>
>>So I decided to challenge that, and I wrote a counter javascript that
forces a page to stay in a frame.
No you didn't.
>>It worked after months of work!
I don't believe you.
>>Now, I have no use for it.
Because it doesn't work?
>>Any ideas?
Lots of them.
>
I know how touchy people can get about anti framebreaking scripts but
you need to look at every possible use for one and I believe there are
many completely innocent uses for one.
It is not just anti frame breaking scripts, it is about people making
unsubstantiated false claims.
I have heard that Yahoo use/ used an anti framebreaking javascript on
their site to keep pages framed on their image search.
They use/used a script that would frame the image and remove it from
your frames. That is not stopping it from being anti-frame busted.
Also, a lot of possible application uses for browsers that run in browsers.
I still haven't seen any client side javascript code from you that shows
where you can stop a framebusting script from breaking out of frames. Do
you have some? If you have it, and it works, I will be the first to say
you did something that hasn't been able to be done in 10+ years of
trying. I still don't believe it has been done using strictly client
side scripting. Of course, you are welcome - and invited - to prove me
wrong.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 6 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Paul Delaney | last post: by
6 posts views Thread by foldface | last post: by
3 posts views Thread by Robert | last post: by
1 post views Thread by clemenr | last post: by
14 posts views Thread by Silver | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.