- UID
- 8454
- 帖子
- 182
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2006-3-3
|
</body>
</html>
<SPAN class=spanclass id=span_ad_08>
</SPAN>
<SCRIPT>ad_08.innerHTML=span_ad_08.innerHTML;span_ad_08.innerHTML="";</SCRIPT>
<SPAN class=spanclass id=span_ad_09>
</SPAN>
<SCRIPT>ad_09.innerHTML=span_ad_09.innerHTML;span_ad_09.innerHTML="";</SCRIPT>
红色的可以是任何字符类型的广告,红色之后是文件末尾
过滤成只保留</html>
就是有些网站的页面将广告代码放在</html>后面,还有一些javascript代码什么的,想把这些</html>后面的一律过滤替换掉,怎么写规则?
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>异界之复制专家 异界之复制专家 第六百一十一章 一拳败敌 - 哈哈文学</title>
- <meta HTTP-EQUIV="Window-target" c />
- <meta HTTP-EQUIV="pragma" c />
- <meta HTTP-EQUIV="Cache-Control" c />
- <meta HTTP-EQUIV="expires" c />
- <meta HTTP-EQUIV="Content-Type" c />
- <meta name="robots" c />
- <meta name="keywords" c />
- <meta name="description" c />
- <link href="/Skin/Default/Css/Common.Css" rel="stylesheet" type="text/css" />
- <link href="/Skin/Default/Css/Book.Css" rel="stylesheet" type="text/css" />
- </head>
- <body bgColor="#E7F4FE">
- <script src="/js/Html/BookMenu.js"></script>
- <script src="/js/Html/Footer.js"></script>
- <script language="javascript">
- <!--
- document.onkeydown=nextpage
- var prevpage="897725.shtml";
- var nextpage="898651.shtml";
- var gotobook="/Book/3245.aspx";
- function nextpage() {
- if (event.keyCode==37) location=prevpage;
- if (event.keyCode==39) location=nextpage;
- if (event.keyCode==13) location=gotobook;
- }
- //-->
- </SCRIPT>
- <center>
- <div id="Ws">
- <div id="Top">
- <div id="Menu"><script>ShowTopMenu(1,'哈哈文学','/','Content.shtml','Index.shtml','/Book/3245.aspx','/User/BR3245.aspx','/User/BS3245.aspx','/User/B3245C898466.aspx','异界之复制专家');</script></div>
- <div id="TextSelect">
- <div id="SelectInfo"> <a href="/">哈哈文学</a> -> <a href="/Book/3245.aspx">异界之复制专家</a> -> <a href="./">章节目录</a></div>
- <div id="SelectRight"><script src="/js/Html/TextSet.js"></script></div>
- </div>
- </div>
- <script language="javascript" type="text/javascript" src="/flash.js"></script>
- <SCRIPT LANGUAGE="JavaScript">
- function getdy(e){
- var l=e.offsetTop;
- while(e=e.offsetParent){
- l+=e.offsetTop;
- }
- l+=50;
- //alert(l);
- return(l+'px');
- }
- function getdx(e){
- var l=e.offsetLeft;
- while(e=e.offsetParent){
- l+=e.offsetLeft;
- }
- return(l+'px');
- }
- function say(datoX,datoY){
- if(document.all && !document.getElementById) {
- document.all['imgbook2'].style.pixelWidth = datoX;
- document.all['imgbook2'].style.pixelHeight = datoY;
- document.all['frontimage'].style.pixelWidth = datoX;
- document.all['frontimage'].style.pixelHeight = datoY-100;
- document.all['frontdiv'].style.pixelWidth = datoX;
- document.all['frontdiv'].style.pixelHeight = datoY-100;
-
- document.all['frontimage'].style.top=getdy(document.getElementById('imgbook2'));
- document.all['frontimage'].style.left=getdx(document.getElementById('imgbook2'));
- document.all['frontdiv'].style.top=getdy(document.getElementById('imgbook2'));
- document.all['frontdiv'].style.left=getdx(document.getElementById('imgbook2'));
- }else{
- document.getElementById('imgbook2').style.width = datoX;
- document.getElementById('imgbook2').style.height = datoY+100;
-
- document.getElementById('frontimage').style.width = datoX;
- document.getElementById('frontimage').style.height = datoY;
- document.getElementById('frontdiv').style.width = datoX;
- document.getElementById('frontdiv').style.height = datoY;
-
- document.getElementById('frontimage').style.left=getdx(document.getElementById('imgbook2'));
- document.getElementById('frontdiv').style.left=getdx(document.getElementById('imgbook2'));
- document.getElementById('frontimage').style.top=getdy(document.getElementById('imgbook2'));
- document.getElementById('frontdiv').style.top=getdy(document.getElementById('imgbook2'));
- }
- //alert(datoY);
- }
- function say2(w){
- alert("ok"+w+":")
- }
- </SCRIPT>
- <table border="0" width="100%" style="display:none">
- <tr>
- <td valign="top">
- </td>
- <td valign="top">
- </td>
- </tr>
- </table>
- <div id="Content">
- <div id="TextTitle"> <span class="newstitle">异界之复制专家 第六百一十一章 一拳败敌</span></div>
-
- <div id="BookText">
- <div align="center"><IMG SRC="http://disk1.wangpan999.com/DownImg/2008/7/3/3245/6335067768644425000.gif" align="center" border=0></div><div align="center"><IMG SRC="http://disk1.wangpan999.com/DownImg/2008/7/3/3245/6335067768667862501.gif" align="center" border=0></div>
- </div><table border="0" width="70%">
- <tr>
- <td>如果您想阅读其他章节,请进入<a href="./">目录</a>查看更多,阅读更多小说请登陆<a href="http://www.hahawx.com/">[url=http://bbs.maxthon.cn/WWW.hahawx.COM]WWW.hahawx.COM[/url]</a>阅读!
- <p><a target="_blank" href="http://www.hahawx.com/Html/18/2660/">
- <font color="#006699">无极魔道</font></a><font color="#006699"> </font>
- <a target="_blank" href="http://www.hahawx.com/Html/3/3251/">
- <font color="#006699">琴帝</font></a><font color="#006699"> </font>
- <a target="_blank" href="http://www.hahawx.com/Html/Book/3/3463/">
- <font color="#006699">一世枭雄</font></a><font color="#006699"> </font>
- <a target="_blank" href="http://www.hahawx.com/Html/14/3007/">
- <font color="#006699">我的美女大小姐</font></a><font color="#006699"> </font>
- <a target="_blank" href="http://www.hahawx.com/Html/3/3245/">
- <font color="#006699">异界之复制专家</font></a><font color="#006699"> </font>
- <a target="_blank" href="http://www.hahawx.com/Html/51/3199/">
- <font color="#006699">九世重生</font></a>
- <a target="_blank" href="http://www.hahawx.com/Html/18/2863/">
- <font color="#006699">仙界修仙</font></a></p></td>
- </tr>
- </table>
- <table border="0" width="70%">
- <tr>
- <td><SPAN style="display:none"> </SPAN></td>
- </tr>
- </table>
- <div id="LinkMenu"><script>ShowLinkMenu('<a href="javascript:document.location=prevpage">翻上页</a>','Index.shtml','<a href="javascript:document.location=nextpage">翻下页</a>');</script></div>
- <table border="0" width="100%">
- <tr>
- <td><SPAN id=ad_09> </SPAN></td>
- </tr>
- </table>
- <div id="EndMenu"><script>ShowEndMenu(1,'哈哈文学','/','Content.shtml','Index.shtml','/Book/3245.aspx','/User/BR3245.aspx','/User/BS3245.aspx','/User/B3245C898466.aspx','第六百一十一章 一拳败敌');</script></div>
-
- </div>
- <div id="End">
- <div id="EndType">
- <div id="CopyRight"><a href="/">哈哈文学网</a>,小说《<a href="/Book/3245.aspx">异界之复制专家</a>》的<a href="./">目录</a>以及最新章节“第六百一十一章 一拳败敌”已经更新并由网友收集并上传<script>ShowCopyRight();</script></div>
- </div>
- </div>
- </div>
- </center>
- <script src="/js/BookText.js"></script>
- <script src="/js/gb.js"></script>
- </body>
- </html>
- <SPAN class=spanclass id=span_ad_08>
- </SPAN>
- <SCRIPT>ad_08.innerHTML=span_ad_08.innerHTML;span_ad_08.innerHTML="";</SCRIPT>
- <SPAN class=spanclass id=span_ad_09>
- </SPAN>
- <SCRIPT>ad_09.innerHTML=span_ad_09.innerHTML;span_ad_09.innerHTML="";</SCRIPT>
复制代码 |
|