Page 1 of 1

How to block actual character |

Posted: Fri Nov 07, 2008 10:03 pm
by asdf
So a few times I've seen a doubleclick url hit by the simple filter http://ad.*

it looks something like this example:

http://ad.doubleclick.net/imp;v1;f;2087 ... [timestamp]

This is what shows up in the blocked items window. How can one actually block the | character without the adblock "ends with" or "starts with" ruleset being invoked?

Posted: Fri Nov 07, 2008 10:45 pm
by rick752
Afaik,it is only a problem if you try to begin or end a string with it. If you are ending your string with that character as the last character (but you want it to continue as a wildcard rule), try putting a wildcard after it:

Code: Select all

http://ad.doubleclick.net/imp;v1;f;208732916;0-0;0;30778201;1|*
If I remember correctly, that will work.

Posted: Sat Nov 08, 2008 9:57 am
by Wladimir Palant
Rick, you remember correctly.

Posted: Sat Nov 08, 2008 4:17 pm
by asdf
thanks.

I don't really have any plans to allow doubleclick ads, I just wanted that info for my own edification.