Iframe src cross domain

I need to display another website in an iframe. I do not need to receive anything on this website, which I will show. Is this a cross-domain policy violation? If so, will the proxy bypass this?

I tried just iframe with its src installed in http://google.com as a test, and it looks like it violates this policy. How can I get around this if I don’t need to do anything on the displayed web page.

+1
source share
2 answers

No, you can access any site through iFrame. What against politics is trying to somehow manipulate the site, and modern browsers will not allow you to manipulate it in any case.

Google allows you to get your site through iFrame, but they use the code to “pull frames”, so instead of viewing your site through iFrame, you’ll simply be redirected to google.com

+2
source

And, now I see that his only test page I used is Google, which prohibits this. Other sites are in order.

0
source

All Articles