开发者

Load external website into my own website through ajax

开发者 https://www.devze.com 2023-02-05 09:13 出处:网络
Is it possible to load an external website into my 开发者_如何学Goown existing page? Or, is this a security risk, and will it not be allowed, or is it too uncommon and a burden to accomplish?

Is it possible to load an external website into my 开发者_如何学Goown existing page?

Or, is this a security risk, and will it not be allowed, or is it too uncommon and a burden to accomplish?

If so, would I need to make an ajax call to do this?

Thanks.


Ajax: Won't work easely. It's called cross-domain ajax requests and it's not easy to implement (see http://www.peachpit.com/blogs/blog.aspx?uk=Performing-Cross-Domain-Ajax-Requests).

IFrame: Will work.

0

精彩评论

暂无评论...
验证码 换一张
取 消