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