Jump to content

Question: Framebreaker

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
skilletsteve

skilletsteve

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
If I have a page that I do not want to be displayed in frames, what can I do to make it not display in a frame?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You have to set the target to something non-default. <a href="..." target="_top"> works well.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
skilletsteve

skilletsteve

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
I have an extension to this question, would it be possible to make it so it allows being in frames on certain sites (like a whitelist) and not breaks frames on other sites?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
That question is beyond my skill... All I can offer is a "maybe".
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog