The Un-Official Proxomitron Forum
filter to strip presentation tags - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Proxomitron Program (/forumdisplay.php?fid=4)
+--- Thread: filter to strip presentation tags (/showthread.php?tid=50)

Pages: 1 2


- JD5000 - Apr. 02, 2004 12:39 AM

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


- jardokraka - Apr. 02, 2004 12:54 AM

well, it worked. thanks ever so much.

JD, when could we but remotely start to hope to get your new config? Smile!


- JD5000 - Apr. 02, 2004 01:02 AM

Smile!

Well, I hope to get a test version out this weekend. (But, I would prolly bet on next weekend. hehe)

Depending on how many bugs come up in the next few days.. And if I have the time to tweak a few things I've been wanting to.

~JD


- jardokraka - Apr. 02, 2004 01:10 AM

if at all possible, please keep this feature in mind. i personally find it very handy.

that would be great to have an option of assigning a particular css to each site on the list.

thanks so much to you and the rest for your assistance.


- JD5000 - Apr. 02, 2004 02:02 AM

Already added it. Wink