For example I have a wordpress site and I want to request it on other sites like elfsight.
It's some think like below but asynchronized:
html=html.regex_split("</head>.*?<body>",1)
head=html[0].split("<head>",1)
body=html[1].rsplit("</body>",1)
otherSite.thisElement.innerHTML+=body;
if otherSite.header == HasNoHeaderIncluded:
otherSite.header.innerHTML+=head
Ps. I don't use iframe because it looks strange.