Refused To display 'https://google.com' in frame because it set in 'x-frame-options' to 'sameorigin'. What is this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Refused To display 'https://google.com' in frame because it set in 'x-frame-options' to 'sameorigin'. What is this?

https://code.sololearn.com/WNa1zCx1HJFe/?ref=app

25th Oct 2020, 10:26 AM
Siriki Lohit
3 Answers
+ 6
The reason for this is, that 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. Try any other page.
25th Oct 2020, 10:53 AM
🔥EACY🔥
🔥EACY🔥 - avatar
+ 3
Oh... Thanks Eacy
2nd Nov 2020, 7:45 AM
Siriki Lohit
15th Dec 2020, 2:17 PM
saputera