as shown in the figure is to update the content of multiple URLs in one page in real time. But because loading the URL will download a lot of files, the iframe tag can"t clean up the garbage (I don"t know how), and soon the browser runs out of resources and crashes.
how can I implement this without using iframe?
:
Failed to load https://www.sohu.com/: No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "null" is therefore not allowed access.
demoIE.html:1 Failed to load https://www.baidu.com/: No "Access-Control-Allow-Origin" header is present on the requested resource. Origin "null" is therefore not allowed access.