document。getElementById("content")。innerHTML=str;
var str=document。getElementById("content")。innerHTML;这里是整个页面代码 ,也可以指定id
化凡
睛一亮,透着喜
。
str=str。replace(&hllp;gi,"…")。replace(&ldqo;gi,"“")。replace(ldqogi,"ldquo")。replace(&rdqo;gi,"”")。replace(‐gi,"—");
str=str。replace(<[sS] ?<>gi,"");
window。onload = function{ window。onload 打开网页就运行