Post Reply 
Simtel.net problem yet again!
May. 02, 2005, 09:27 AM
Post: #3
 
Wasn't my code, i just fixed it. Smile!

Sam the Cat, the changes at Simtelnet are too much for your general filter. So you can either use Kye-U's site-specific filter, or add a "JS Links to normal Links" filter to your config:
Code:
[Patterns]
Name = "<a>: JS Links to normal Links - Stand-Alone [rcl sd]"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)|$TYPE(js)"
Bounds = "<a\s*(<(\\|)/a >|>(^(^ <(a\s|((\\|)/|)center))))"
Limit = 2048
Match = "*\s(onclick=|href=(\\"|"|)javascript:)"
"&"
"<a*\s(href|onclic(k)\1)=(((\\|)")\0|(^"))"
"(javascript:|$TST(\1=*))(^*function \(|var|[a-z0-9_.]++.value)"
"(*&&*(\\"|"|%22|\")\8([^"'=;/]+/[^"';.]+.[^"']++)\9$TST(\8)*)"
"($TST(\0)*|(\s|>)(^$TST(\0=*))*)\2"
""
"&("
"$TST(\1=*)(^*href=$AVQ((\\"|"|) (\+|javascript:(^//| nothing \( \) | void (\( |)(0|null))|*.)*))*"
"|(^$TST(\1=*))"
")"
Replace = "<a id=\0proxJS\0 href=\0\9\2"

Notes: Naoko 4.5 only. Some precautions removed to get it stand-alone, may need to be bypassed at times. Please do not merge this version with my set.

sidki
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Sam the Cat - May. 02, 2005, 03:02 AM
[] - Kye-U - May. 02, 2005, 03:56 AM
[] - sidki3003 - May. 02, 2005 09:27 AM
[] - Sam the Cat - May. 04, 2005, 08:53 AM

Forum Jump: