I would like to download something from website B to a page on website A and contain the functionality of website B in a container on website A.
I tried to do this using the div method and jQuery load() , but I ran into cross-site scripting problems (I think it works with the local file, but not with the remote URL).
I also tried using an iframe, but strange things happen (for example, when a link is clicked on the βcontainingβ website B, it reloads the entire browser, losing the contents of website A).
I read about some ways to handle this server (and this can only happen in this one), but ideally I want something to be completely client-side, JavaScript and HTML.
Any ideas?
source share