updated 2002-08-14
Hi all,
Here is a filter that converts JavaScript redirects to an option.
[Patterns]
Name = "<script>: Anti-Auto-JS-Redirection"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "$NEST(<script,</script*>)"
Limit = 512
Match = "*.location(.href|)="([^"'+]++)1 " (^+)*"
Replace = "<center><a class="prox" href="1">[JS Redirect]</a></center>$STOP()"
As always, if you don't use stylesheets, the replacement can be simplified to:
Replace = "<center><a href="1">[JS Redirect]</a></center>$STOP()"
regards, sidki
Edited by - sidki3003 on 16 Aug 2002 21:17:15