473,666 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6802
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.javas cript 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.javas cript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptT oolbox.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.javas cript 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
2742
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 with nav buttons - Next and Prev - at the bottom whilst the top frame hs a URL from a search engine along the lines of page1search.htm. What I want to do is to press Next and it call a function to change the top frame to page2search.htm but despite...
2
1782
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 line in the upper frame to be updated when certain actions are taken in the lower frame. In the top frame, I have a line of text wrapped with SPAN tags and assigned a unique ID attribute. In the lower frame, I run a JS function that looks up the...
6
5159
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 page with 2 frames, the centre frame containing the last page visited, in this case google? I get the impression you can do this using netscape via history
17
2271
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 revamped the anti-war quotes quiz: http://www.geocities.com/rgoya/javascript/PROTCODE.HTM#usaquiz Please feel free to
3
7059
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 frame, this image should be shown in the right frame. As I have a large number of pictures I don't want to have a separate page for each picture, and use javascript instead. I would like to use this in the left frame (see full code below):
1
1886
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 existing content management system. The javascript would then fill in the login name and password of the form, and submit the form to log in. If this works then the bottom frame would be replaced with another page requesting that a link be...
1
2285
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. |--------------------------------|-------------------------| | | | | 1 | 2 | | | | |--------------------------------|-------------------------| | ...
14
2106
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=...> i.e. The user presses the "first" key on the menu, then the first page is loaded inside the frame. Find here a sample for the pages I use. index.html
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8781
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8550
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8638
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7381
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4365
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.