Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way to prevent getting framed?

framed
0
10 Posted

Is there a way to prevent getting framed?

0

“Getting framed” refers to having your documents displayed within someone else’s frameset without your permission. This can happen accidentally (the frameset author forgot to use TARGET=”_top” when linking to your document) or intentionally (the frameset author wanted to display your content with his/her own navigation or banner frames). To avoid “framing” other people’s documents, you must add TARGET=”_top” to all links that lead to documents outside your intended scope. Unfortunately, there is no reliable way to specify that a particular document should be displayed in the full browser window, rather than in the current frame. If you can configure your server to send the proprietary header Window-Target: _top in the HTTP response, then Netscape browsers will display your document in the full browser window. However, other browsers ignore this header, and it doesn’t work to use in the document itself to mimic the HTTP response. Another

0

“Getting framed” refers to having your documents displayed within someone else’s frameset without your permission. This can happen accidentally (the frameset author forgot to use TARGET=”_top” when linking to your document) or intentionally (the frameset author wanted to display your content with his/her own navigation or banner frames). To avoid “framing” other people’s documents, you must add TARGET=”_top” to all links that lead to documents outside your intended scope. Unfortunately, there is no reliable way to specify that a particular document should be displayed in the full browser window, rather than in the current frame. One workaround is to use in the document, but this only specifies the default target frame for links in the current document, not for the document itself.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123