繁体
var str=document。getElementById("content")。innerHTML;//这里是整个页面代码 ,也可以指定id
str=str。replace(/&hllp;/gi,"…")。replace(/&ldqo;/gi,"“")。replace(/ldqo/gi,"ldquo")。replace(/&rdqo;/gi,"”")。replace(/‐/gi,"—");
// str=str。replace(/\
"5536674。html">上一页
"index。html">回书目(快捷键:Enter)
str=str。replace(/
window。onload = function{ //window。onload 打开网页就运行
str=str。replace(/\
}
/gi,"
document。getElementById("content")。innerHTML=str;