473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 6779
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.