var str=document。getElementById("content")。innerHTML;//这里是整个页面代码 ,也可以指定id
window。onload = function{ //window。onload 打开网页就运行
//str=str。replace(/\
。
// str=str。replace(/\
str=str。replace(/\