Board logo

标题: 请问javascript广告怎样过滤? [打印本页]

作者: lotus21    时间: 2009-8-23 09:34     标题: 请问javascript广告怎样过滤?

请问以下这段怎么过滤?
</h1>
<script type='text/javascript'>
var sogou_param = new Array();
sogou_param["pid"]  = "kcn1976";
sogou_param["ct"]   = "context";
sogou_param["fmt"]  = "h_728_90";
sogou_param["iw"]   = "728";
sogou_param["ih"]   = "90";
sogou_param["charset"] = "gb2312";
sogou_param["c_bo"] = "FFFFFF";
sogou_param["c_bg"] = "FFFFFF";
sogou_param["c_li"] = "0055E5";
sogou_param["c_te"] = "000000";
sogou_param["c_bt"] = "000000";
sogou_param["c_hl"] = 'FF0900';
sogou_param["sv"] = "1";
sogou_param["sl"] = '1';
sogou_param["hl"] = '0';
</script>
<script language="JavaScript" type="text/javascript" src='http://images.sohu.com/cs/jsfile/js/ct.js'></script>
作者: smile16888    时间: 2009-8-23 11:40

  1. #exd#*网址*#<script[^<]*?(?:sogou|ct\.js)[\s\S]*?<\/script>###
复制代码

作者: lotus21    时间: 2009-8-23 15:28

很好用的,谢谢啦




欢迎光临 世界之窗论坛 (http://bbs.theworld.cn./) Powered by Discuz! 7.2