Solved

Can't remove "FRAMES" with Window-target: _top

Posted on 1997-12-03
2
192 Views
Last Modified: 2008-02-01
I want to prevent other sites from FRAMING my web site.  I was on a great web page which gave many techniques as to solve this problem.  One of the techniques was to use CGI and an HTTP HEADER:  Window-target: _top.

It sounded great but it didn't work!  Did I do something wrong?  No error messages poped up or nothing.  Just it won't prevent my web site from being framed; I can frame my web site at will with the technique or not.

I have my test web site up right now.  If you'd like you can go check it out.  It immediately appears in frames and once you click the hyperlink, it calls the CGI program and it returns back the useful page data.  I did this to represent another website that is in frames and is calling my web site by clicking on a hyperlink.

If theres anything you can tell me that can help me to get this problem solved I'd be forver grateful.  

My web site is: http://www.webquarry.com/~tempest
*Try it out to see the problem I'm talking about.*
0
Comment
Question by:mirror
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:Christian_Wenz
ID: 1842114
hmmm, would be a JavaScript solution acceptible for you?
0
 
LVL 6

Accepted Solution

by:
alamo earned 50 total points
ID: 1842115
Again...

It is being overridden by the explicit 'target="main"' in your link. If you remove the target, and just make the link a non-targeted one which would normally load into the same frame, then your page jumps out of the frames (but not with IE).

Between this and the two methods I suggested in my comment in the other question (javascript on the top page and explicit 'target="_top"' for links deeper into your site) you will be as close to frameless as you can get.

Good luck!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I need help changing the colour of this image rollover please? 3 23
Send email using HTML and PHP in separate file 5 41
Link Anchor Not working 9 49
Boolean 13 23
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

749 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