Skip to content Skip to sidebar Skip to footer

How To Embed Google Iframe?

Google seems to be blocking websites which use iframes. Of course I'm using google with its trademark and embedded it in an iframe. But for some reason it never works. Anyone knows

Solution 1:

You cannot bypass it in modern browsers in any way, they simply refuse to display websites in iframe that send a X-Frame-Options header with DENY (or SAMEORIGIN is already enough). It doesn't even come down to javascript.

Solution 2:

You can use this link instead of https://google.com/ , it works pretty good:

https://www.google.com/search?igu=1

With specific word you can use this link:

https://www.google.com/search?igu=1&ei=&q=YOUR+WORD

Than iframe should looks as this:

<iframesrc="https://www.google.com/search?igu=1"></iframe>

Post a Comment for "How To Embed Google Iframe?"