繁体
// str=str。replace(/\
/gi,"
——网
var str=document。getElementById("content")。innerHTML;//这里是整个页面代码 ,也可以指定id
/gi,"");
str=str。replace(/\
document。getElementById("content")。innerHTML=str;
/gi,"2");
"5421139。html">上一页
str=str。replace(/\<\/P\>/gi,"");
"5471417。html">下一页(快捷键:→)
window。onload = function{ //window。onload 打开网页就运行