nicecola 发表于 2007-8-31 23:15:51

请教怎么去掉GG和其他的广告啊??

请教怎么去掉GG和其他的广告啊??

wenlh 发表于 2007-8-31 23:32:06

过滤JS

啊南 发表于 2007-9-1 00:14:14

nicecola 发表于 2007-9-1 01:17:22

怎么过滤js啊?能详细点吗?谢谢!

nicecola 发表于 2007-9-1 01:20:50

怎么过滤js啊?能详细点吗?谢谢!下面的是不会过滤的代码
<td valign="top" align="center" width="160">
      startspan <script type="text/javascript">
google_ad_client = "pub-0832984765640612";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
google_ad_channel = "";
//</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
      </td>
    </tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="17">
    <tr>
      <td height="17" bgcolor="#FFFFFF">

6sky 发表于 2007-9-1 02:45:06

原帖由 nicecola 于 2007-9-1 01:20 发表 http://bbs.locoy.com/images/common/back.gif
怎么过滤js啊?能详细点吗?谢谢!下面的是不会过滤的代码

      startspan
google_ad_client = "pub-0832984765640612";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_ ...

就把你写的这段增加到排除就可以啦!

zhanwolf 发表于 2007-9-1 02:49:47

直接過濾這段就好了
<script type="text/javascript">
google_ad_client = "pub-0832984765640612";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text_image";
google_ad_channel = "";
//</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
或者改成伱嘚 UPB號

nicecola 发表于 2007-9-1 10:00:27

已解决,谢谢大家!
页: [1]
查看完整版本: 请教怎么去掉GG和其他的广告啊??