iframe with external page not working

Google uses an X-FRAME-OPTIONS HTTP header to disallow putting their pages in iframes: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header

Almost all modern browsers will refuse to put pages with this HTTP header in an iframe. There's nothing you can do about that.


Because the internal page had do something to prevent to be put in iframe.

Maybe a piece of javascript like that

if (window.top != window.self) {window.top.location = window.self.location;}