-1
I try to open a simple link in an iframe, and it throws this error:
Refused to display in a frame because it set 'X-Frame-Options' to 'sameorigin'
This is the complete code:
<html>
<head>
<meta charset="utf-8" />
<title>Testing Page</title>
</head>
<body>
<iframe width="400" height="215" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com"> </iframe><br />
</body>
</html>
It can help you: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
– Caique Romero