Post Reply 
filter to strip presentation tags
Apr. 02, 2004, 12:39 AM
Post: #16
 
When adding to blocklists, don't add the http://.

Try..

Code:
www.geocities.com/srl_list/


Also, if the site doesn't have a <link..> tag, the filter won't match.

If a site doesn't have a link tag, you could try..

Code:
[Patterns]
Name = "<link>: Cancel Styles on sel. Sites"
Active = TRUE
URL = "$LST(CustomCSS)$TYPE(htm)"
Limit = 256
Match = "<link\s*rel=$AV(stylesheet)*>$STOP()"
"|"
"(<body*>)\0$STOP()"
Replace = "<link type="text/css" rel="stylesheet" href="http://local.ptron/CustomCSS/Custom.css" /> "
"\0"


I've only tested that in my head, but it should work. Wink

In Proxomitron we trust.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[] - jardokraka - Apr. 01, 2004, 06:30 PM
[] - ProxRocks - Apr. 01, 2004, 07:43 PM
[] - jardokraka - Apr. 01, 2004, 07:51 PM
[] - ProxRocks - Apr. 01, 2004, 08:47 PM
[] - sidki3003 - Apr. 01, 2004, 09:08 PM
[] - jardokraka - Apr. 01, 2004, 10:28 PM
[] - ProxRocks - Apr. 01, 2004, 10:37 PM
[] - jardokraka - Apr. 01, 2004, 11:06 PM
[] - JD5000 - Apr. 01, 2004, 11:19 PM
[] - jardokraka - Apr. 01, 2004, 11:23 PM
[] - JD5000 - Apr. 01, 2004, 11:30 PM
[] - JD5000 - Apr. 01, 2004, 11:35 PM
[] - jardokraka - Apr. 01, 2004, 11:35 PM
[] - JD5000 - Apr. 01, 2004, 11:37 PM
[] - jardokraka - Apr. 02, 2004, 12:10 AM
[] - JD5000 - Apr. 02, 2004 12:39 AM
[] - jardokraka - Apr. 02, 2004, 12:54 AM
[] - JD5000 - Apr. 02, 2004, 01:02 AM
[] - jardokraka - Apr. 02, 2004, 01:10 AM
[] - JD5000 - Apr. 02, 2004, 02:02 AM

Forum Jump: