472,986 Members | 2,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,986 software developers and data experts.

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 6752
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Paul Delaney | last post by:
Hi there Could someone please help, I have very little grasp of javascript, I have tried but cannot get either of the two things I want to do together to work. I have a webpage with frame...
2
by: Paul | last post by:
I have a simple frame-based application where title information appears in a top frame and a lower frame contains the content for the application. One of the needs for this app is for a status...
6
by: foldface | last post by:
Hi I think from looking into google newsgroups history that you can't do this, however can someone confirm that: Using IE6 Can you load a web page (say www.google.co.uk) Then move to a web...
17
by: rgoya | last post by:
Peace be with you! About a year ago, I created a JavaScript which turns any web site into an online anti-war protest: http://www.geocities.com/rgoya/javascript/PROTEST.HTM I have recently...
3
by: Robert | last post by:
Hi, I'm trying to make a slide show, with two frames: on the left frame small thumbnails, and on the right frame the big sized image. Of course when the user clicks on a thumbnail in the left...
1
by: clemenr | last post by:
Hi. I would like to know if the following is feasible in JavaScript. I would create a frameset where the top frame includes JavaScript. The bottom frame would be directed to the login page of an...
1
by: mailing | last post by:
Hello, I am hoping that someone can point me in the right direction. I have 4 frames to my site. Two Rows, Two Columns. |--------------------------------|-------------------------| | ...
14
by: Silver | last post by:
I have a main page that includes one menu and one iFrame. Depending on the selections made on a menu, a different html page is loaded inside the iFrame. The menu is just a list of <a href=...> ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.