Is there any way to download an HTML string (code of a given web page) using JavaScript (despite CORS)? Something like:
let url = "http://example.com";
fetch(url).then(a => document.write(a)).catch(a => document.write("Error"));
Is there any way to download an HTML string (code of a given web page) using JavaScript (despite CORS)? Something like:
let url = "http://example.com";
fetch(url).then(a => document.write(a)).catch(a => document.write("Error"));