Is there a reliable way for a webpage to either
break out or refuse to display when a hostile
website puts it in a frame?
I know about the JavaScript solution, but not
all visitors have JavaScript enabled.
I also know about the target="_top" solution,
but that only works if the visitor clicks on
a link.
I even know about the banning the hostile
website solution, but I was hoping for a
solution that handles all framing sites,
not just the ones I know about.
Is there some sort of php, htaccess, or
other magic that will do the trick?
Breaking out of the frame would be ideal,
but causing some sort of alternative content
-- or a 404 error -- to display in the
frame would be almost as good.
Thanks in advance.
~WebFoot
Comment