Filtr w/regular expression

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Kevil
Posts: 40
Joined: Fri Oct 14, 2016 12:42 pm

Filtr w/regular expression

Post by Kevil »

Can you advice me how to correctly write a filtr to block:

<div id="content-lead" class="Mb4450ab57dc099b00951b101488a99a2 Mb9fb48e5c76dc0f4de95beac47d2ece6"></div>

based on "random string (charachters & numbers] between double quotes? Text lenght is 67 characters.

Something like:
\w\d[^"]*+
webpage.com##DIV[class=".{67}"]
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Filtr w/regular expression

Post by mapx »

you cannot use regex in hiding filters, so, which is the page and what exactly you want to hide ?
Kevil
Posts: 40
Joined: Fri Oct 14, 2016 12:42 pm

Re: Filtr w/regular expression

Post by Kevil »

mapx wrote:you cannot use regex in hiding filters, so, which is the page and what exactly you want to hide ?
Have a look at the web page source code:
Image
User avatar
smed79
Posts: 1224
Joined: Thu Jan 14, 2010 11:51 pm
Location: EasyList Forum
Contact:

Re: Filtr w/regular expression

Post by smed79 »

which is the page
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Filtr w/regular expression

Post by mapx »

when you ask for help, provide the complete requested info

however, try these filters

Code: Select all

autorevue.cz##SCRIPT + DIV#content-lead[class]
autorevue.cz##SCRIPT + DIV.bx-sky
||autorevue.cz^$script
@@||autorevue.cz/Client.Scripts/*
@@||autorevue.cz/*source$script
Kevil
Posts: 40
Joined: Fri Oct 14, 2016 12:42 pm

Re: Filtr w/regular expression

Post by Kevil »

mapx wrote: however, try these filters
Thank you, I will try.
Post Reply