html - Putting mobile Google into an iframe does not work -


Google's mobile view behind the following link:.

I have an iRame on my website, but it does not work.

  & lt; Iframe id = "google_search" src = "http://m.google.at/search?hl=de&safe = on & amp; q = stackoverflow" style = "width: 400px; height: 600px; overflow: scroll; Border: 1px solid black; "& gt; & Lt; / Iframe & gt;   

Whatever I get is an Ami IFrame, why am I?

I suspect that Google is sending x-frames-option Set the header set to Decline . This page prevents the page from loading in new versions of IE8 + and Firefox, Opera and Chrome (the exact version number prevents me at this time).

This is usually done to deal with click jacking in IEBlog, there is a great article on it:

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -