0
net::ERR_BLOCKED_BY_RESPONSE
While I try to display a website in a static page using iframe, I encountered the following error. net::ERR_BLOCKED_BY_RESPONSE Please help me out. https://code.sololearn.com/W3yK5nnc6Lup/?ref=app
4 Respuestas
+ 5
Srikanth If you look at console log you see the error. Have you looked at it?
It says X-Frame-Options has set to "sameorigin". It tells your browser that it shouldn't display any page or any resources from that domain (google.co.in) in an iframe (or frame, or embed,...) that is not originated from (belongs to) the same domain.
So your browser doesn't display it because it is showing the main page (ancestor frame) from your own IP address, and it's not belonging to that domain.
Hopefully it's clear now.
If you insist on using iframe, find another server that doesn't set X-Frame-Options or use a browser that doesn't support this feature.
0
Tina thanks for your input. But here I'm not able to come to conclusion because am not getting what stackoverflow explaining.
If you don't mind can you put the stackoverflow content understandable to me. please...!!
0
Thank you Tina for your wonderful explanation. I understood.