Home > front end >  About the content of the cross-domain get loaded link in question
About the content of the cross-domain get loaded link in question

Time:10-10

Due to business needs, prepare to use the following two methods to load an external link


<iframe SRC="http://xxx.com/t2.html" width="600" height="400" id="payment1 form"="payment" & gt; </iframe>

Which I only have access to xxx.com is somebody else's web site, through the above method after load the link from the generated HTML source code, the cross-domain problem, how don't succeed, still hope everybody to give directions

CodePudding user response:

Front the browser doesn't allow cross-domain access to content,
Cross domain access to content on the server side is only then to the front end,

CodePudding user response:

reference 1/f, the sky wave response:
front-end web browser does not allow cross-domain access to content,
Cross-domain access to content on the server side is only then to the front end,


Assisted by the backend I know, due to business needs, it will get the client IP access link, such as I used to do the IP becomes the back-end server IP, loses its meaning was discussed, still hope everybody to give directions
  • Related