How to block this adds?

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
martinBlock

Post by martinBlock »

Thank you very much, that rules work well. Only a question:

In regular expresions before "*" you put "." for example /todotorrente\.com\/.* and before "/" you put "\" for example /todotorrente\.com\/.*

Depending on the circumstances you must to put "." or "/". what's the rule to do it?[/b]
martinBlock

Post by martinBlock »

Ahh for other banners i put generic rules as:
*publicidad*
*banners*
*ads*
etc.
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Post by rick752 »

martinBlock wrote:Ahh for other banners i put generic rules as:
*publicidad*
*banners*
*ads*
etc.
Be careful of just using

*banners*
*ads*
... as you have it here.
These will create MANY false-postives, eg:

logo-banners
dads
badstuff

...see what I mean?

You have to try to be a little more specific.
Stupid Head

Post by Stupid Head »

The rules of regular expression are more complicated than you think, but learning the basics is not difficult.

http://es.wikipedia.org/wiki/Expresi%C3%B3n_regular

Se utiliza para "marcar" el siguiente carácter de la expresión de búsqueda de forma que este adquiera un significado especial o deje de tenerlo. Osea, la barra inversa no se utiliza nunca por sí sola, sino en combinación con otros caracteres. Al utilizarlo por ejemplo en combinación con el punto "\." este deja de tener su significado normal y empieza a comportarse como un carácter literal. El punto es interpretado por el motor de búsqueda como cualquier otro carácter excepto los caracteres que representan un salto de línea. Si se le dice al motor de RegEx que busque "g.t" en la cadena "el gato de piedra en la gótica puerta de getisboro goot" el motor de búsqueda encontrará "gat", "gót" y por último "get". Nótese que el motor de búsqueda no encuentra "goot"; esto es porque el punto representa un solo carácter y únicamente uno. El asterisco indica que el carácter al que sigue puede aparecer cero, una, o más veces. Por ejemplo, "0*42" casa con 42, 042, 0042, 00042, etcétera.

That's why it is necessary to write "\" before "/" or ".". That is also why it is necessary to write "." before "*".
martinBlock

Post by martinBlock »

In Spanish !!! great.

Thank's for all.
martinBlock

Post by martinBlock »

rick752 wrote:
martinBlock wrote:Ahh for other banners i put generic rules as:
*publicidad*
*banners*
*ads*
etc.
Be careful of just using

*banners*
*ads*
... as you have it here.
These will create MANY false-postives, eg:

logo-banners
dads
badstuff

...see what I mean?

You have to try to be a little more specific.


I change some rules, to make them more specific:
*banner* to */banner/*
*ad* to http://ads.*
...
MonztA
ABP Developer
Posts: 3957
Joined: Mon Aug 14, 2006 12:18 am
Location: Germany

Post by MonztA »

martinBlock wrote:In Spanish !!! great.

Thank's for all.
You can change the language by choosing the language on the sidebar on the left (Otros idiomas).
Locked