I've seen there are several ways to do it WHEN the websites are in the same domain, but this is not my case and, since I'm much more a designer than a programmer, I'd go as far as to ask for the s开发者_开发问答implest, most straight-forward process.
The best way to do this would be to use a server-side script to parse the remote site, thereby degrading gracefully if there's any Javascript problems on the client-side and giving you control over the environment when you're parsing the remote site.
You could, e.g. write a php script to return just the relevant div, and then point the iframe straight at that.
What language / framework were you thinking of using?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论