fetch(window.location.href,{credentials:"omit",redirect:"follow",mode:"no-cors"}) .then(function(b){return b.text()}) .then(function(b){ var a=b; a=b.replace(/</?noscript>/g,""); document.querySelector("html").innerHTML=a; });
原文:https://sugoidesune.github.io/readium/