Post Reply 
Great filters...
Feb. 08, 2005, 06:36 PM
Post: #13
 
Hey People,
This is what I use and it has never failed me. The original filter is found in Proxo's help files with added code from sidki's Toggle Applet filter since that's the config I use.

[Patterns]
Name = "<applet>: Allow/Deny loading of Java Applets "
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js)|$TYPE(vbs))(^$TST(keyword=*.(a_java|a_code).*))"
Bounds = "<applet\s*>(*</applet >|)"
Limit = 4096
Match = "(*code="
"("
"\\('$SET(4=")|"$SET(4='))$SET(2=JS)*"
"|$AVQ("
"('$SET(4=")|("|)$SET(4='))"
"(\2.class|(["'\\]+{1,*})\2|$SET(2=JS))*"
")"
")"
"*)\1"
""
"$ASK(AllowApplet, DenyApplet,"
"Continue loading this Java Applet \n \u\n[\1]?, \1, \1)"
"&($TST(script=[1s]*)$SET(3=\\\4)|$SET(3=\4))"
"&("
"(^$TST(pApplet=*))$TYPE(htm)"
"$SET(dAll=$GET(dAll)"
"<span id="proxAppletI" class="Prox" style="display:$GET(displayI)">"
"&#8593;<a id="proxAppletI" class="Prox" href="jPrxToggle('proxApplet','id','span',1)""
" title="Toggle Display" target="_self">applet[/url] </span>"
")"
"|)"
"&$TST(($GET(pApplet)+1)=$LST(Count))$SET(pApplet=$GET(i))"
"&($TST(volat=*.log:2.*)$ADDLST(Log-Main,[$DTM(d T)]\tWEB Java_Applet\t\2 \t\u)|)"
Replace = "<AppletKilled>"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - AntiTrust - Apr. 10, 2004, 10:27 AM
RE: Great filters... - JakBeNymble - Feb. 28, 2009, 08:20 AM
RE: Great filters... - lnminente - Feb. 28, 2009, 03:24 PM
RE: Great filters... - turtle - Feb. 28, 2009, 05:58 PM
RE: Great filters... - JakBeNymble - Feb. 28, 2009, 09:09 PM
RE: Great filters... - Toppy - Feb. 28, 2009, 10:23 PM
RE: Great filters... - JakBeNymble - Mar. 01, 2009, 02:15 AM
RE: Great filters... - Siamesecat - Mar. 02, 2009, 06:19 AM
RE: Great filters... - lnminente - Mar. 02, 2009, 10:52 AM
[] - Shea - Apr. 10, 2004, 03:19 PM
[] - AntiTrust - Apr. 10, 2004, 03:53 PM
[] - Shea - Apr. 10, 2004, 04:31 PM
[] - AntiTrust - Apr. 10, 2004, 05:57 PM
[] - Kye-U - Apr. 10, 2004, 07:02 PM
[] - Shea - Apr. 10, 2004, 11:08 PM
[] - Kye-U - Apr. 10, 2004, 11:31 PM
[] - Shea - Apr. 11, 2004, 12:47 AM
[] - JakBeNymble - Feb. 07, 2005, 07:03 AM
[] - Oddysey - Feb. 08, 2005, 03:45 AM
[] - Siamesecat - Feb. 08, 2005, 06:56 AM
[] - gorgan - Feb. 08, 2005 06:36 PM

Forum Jump: