Author Topic: Stop JS error reporting  (Read 1655 times)

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Stop JS error reporting
« on: July 18, 2002, 11:33:50 AM »
This filter simply prevents browsers from generating Javascript errors that result due to Proxomitron filtering.

It is not needed by most current browsers, as they can disable the error reporting themselves, but embedded IE clients like the Winamp Minibrowser still generate tons of errors.

##
## Proxomitron Config File
##
## Prevent JS error reports
##

[Patterns]
Name = "Prevent JS error reports"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 256
Match = "<start>"
Replace = "<!--//--><script type="text/javascript">
"
          "function NoError() { return true; }
"
          "onerror = NoError;
"
          "</script>
"