07/07/27 09:57:51 2qYrqhT80
[Patterns]
Name = "Allow right mouse click 2 [2007/05/23] fixed"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 8
Match = "(^(^</html>))"
Replace = "<script> document.onmousedown=null; </script>\r\n"
このフィルタの誤爆を回避するため、Think氏のサイトを参考にして
Match = "(^(^</html>?))|(^(^</html>))$SET(0=<script> document.onmousedown=null; </script>\r\n)"
Replace = "$STOP()\0"
と書き換えて、テストも期待通りに動作し実際のサイトでも誤爆によって出てきた文字列も消えているのだが・・・
デバッグモードで見ると何故か誤爆箇所にマッチしたままなのは何故?
参考サイト URLリンク(www.flipflops.jp)