Skip to content Skip to sidebar Skip to footer

Clicking A Link In An Iframe Has No Effect At All

In Google Chrome, I've noticed that clicking some links seems to have no effect at all: clicking this link does nothing at all. Here is

Solution 1:

If you look at your developer console, you'll see the following:

Refused to display 'https://www.google.com/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

See https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options

Solution 2:

This is because of the fact that you can't display external pages in iframes. This is a browser limitation mostly for security reasons

Post a Comment for "Clicking A Link In An Iframe Has No Effect At All"