Can't Add Google.com As Src To An Iframe
Possible Duplicate: How to show google.com in an iframe? Why some websites can't be added as source to my iframe I have this code:
Solution 1:
Google is sending an "X-Frame-Options: SAMEORIGIN" response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page
See: Mozilla Developer Network - The X-Frame-Options response header
Solution 2:
Google sets the x-frame-options response header to SAMEORIGIN
https://developer.mozilla.org/en-US/docs/The_X-FRAME-OPTIONS_response_header
Post a Comment for "Can't Add Google.com As Src To An Iframe"