This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Problems to visualize some internet pages
#1
Hi, I have some problems to visualize some internet pages in an iframe, since some do it correctly, but others give me a message saying that the page rejects the connection. Some pages that I can not visualize are:

https://www.eltiempo.com/
https://www.elespectador.com/news
https://www.nytimes.com/
https://www.lemonde.fr/

Below I will show some in which if you can see the pages in the iframe:
https://www.publimetro.co/co/
https://www.elmundo.es/
https://www.bbc.com/mundo

Thank You
Reply
#2
Hi,

This is the message i see in the browser console:

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

You cannot display a lot of websites inside an iFrame. Reason being that they send 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. This is a security feature to prevent click-jacking.

BR,

Erwin
Reply
#3
So for those pages, is it not possible to have them in an Iframe? Either by a lua script or JS?
Reply
#4
Hi,

Nope, It's a security feature, it would not be good if you can bypass that easily (:

BR,

Erwin
Reply
#5
Ok. Thank You Smile
Reply


Forum Jump: