How to get the html code from a web page (different domain)?

后端 未结 3 1335
无人共我
无人共我 2021-01-22 18:16

How can I create a javascript script that allows me to get the html code of a different page from a different domain and allows me to edit and display the code?? Thanks in advan

3条回答
  •  醉话见心
    2021-01-22 19:02

    You can't. Cross domain scripting is not possible... you can also search SO and find many answers to this question.

提交回复
热议问题