- UID
- 220692
- 帖子
- 25
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2009-8-7
|
网页里面有很多
<script type="text/javascript">
脚本。。
我想把这段过滤掉应该怎么写。。。
<script type="text/javascript">
alert('设置成功!');
</script>
还有我想把这段过滤掉怎么写。。
<div id="Header">
<div id="HeaderFont">您有<span id="newMailsCount" style="color:red"></span>封新邮件 最多只显示20封</div>
<div id="Close"><a href="javascript:void(0);"><img src="/webmail/jsp/groupehomemobile/img/newmailNotify/close.gif" width="10" height="11px" border="0" id="closebutton" alt="关闭" /></a></div>
</div>
==========================================
<pattern type="1">
<targets>
<param>
<![CDATA[ script ]]>
</param>
</targets>
<pattern type="2">
<targets>
<param>
<![CDATA[ alert ]]>
</param>
<replace>
<![CDATA[ <!-- 被过滤掉的代码 --> ]]>
</replace>
</targets>
</pattern>
</pattern>
我这么写没关系,,,提示框还是一样弹出,,,请高手们帮帮忙。。看看怎么回事。 |
|