my own new rule

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
poi
Posts: 3
Joined: Tue Mar 01, 2016 7:15 pm

my own new rule

Post by poi »

Hi,

I would like to block some elements at www. I've created those rule
xxx.com###process-1234567 > .taskPanelInfo > .showTooltipDefault.taskSpeedUpLink

it's work nice, but 1234567 is random pid, so i want to use regexp. I've tried
xxx.com###(process-[0-9]{7}) > .taskPanelInfo > .showTooltipDefault.taskSpeedUpLink
it's not work.

Any suggestion?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: my own new rule

Post by mapx »

you can't use regex in hiding filters, only in blocking filters
en/filters

which is the page, what element do you want to hide (describe it) ?
browser ?
ABP version ?
poi
Posts: 3
Joined: Tue Mar 01, 2016 7:15 pm

Re: my own new rule

Post by poi »

mapx wrote:you can't use regex in hiding filters, only in blocking filters
en/filters

which is the page, what element do you want to hide (describe it) ?
browser ?
ABP version ?
this is script on webgame to buy some powers :)

<span class="taskSpeedUpLink showTooltipDefault" url="uebersicht.php?do=speedup&id=1234567$hash=some_md5_hash" title="abcde"></span>

Adguard on opera and ublock origin on firefox
Last edited by poi on Tue Mar 01, 2016 7:58 pm, edited 1 time in total.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: my own new rule

Post by mapx »

You should provide the link to that page (and eventually a test account if I need it.. you can pm me the username / pass)
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: my own new rule

Post by lewisje »

The closest thing that would work is

Code: Select all

xxx.com##[id^="process-"] > .taskPanelInfo > .showTooltipDefault.taskSpeedUpLink
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
poi
Posts: 3
Joined: Tue Mar 01, 2016 7:15 pm

Re: my own new rule

Post by poi »

lewisje wrote:The closest thing that would work is

Code: Select all

xxx.com##[id^="process-"] > .taskPanelInfo > .showTooltipDefault.taskSpeedUpLink
thank You very much :)
Locked