Solved

frame buster workaround

Posted on 2004-04-19
7
319 Views
Last Modified: 2007-12-19
How do I get a page with a 'frame buster' opened inside an IFRAME or FRAMESET?

target's onload attribute:
--
if (self !=top) top.location = location
--
0
Comment
Question by:japoneix
7 Comments
 
LVL 30

Accepted Solution

by:
third earned 125 total points
Comment Utility
i don't think there's a workaround with that. the only workaround i have on my head is, you have to ask permission to the owner.
0
 
LVL 3

Expert Comment

by:ehout
Comment Utility
I'm not a Javascript Guru, but maybe it is possible tot redefine the "top" object ?

Kind regards
0
 
LVL 30

Expert Comment

by:third
Comment Utility
nope. can't be done, AFAIK.
0
 
LVL 16

Expert Comment

by:jaysolomon
Comment Utility
third is correct

...and i am glad that you can't b/c i use it in every site i develop regardless

0
 
LVL 1

Expert Comment

by:tomwoods
Comment Utility
Try this out, it works fine for me. Cheers.

<script language="Javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
</script>
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now