JQuery selectors

Various discussions related to Adblock Plus development
Post Reply
smk
Posts: 100
Joined: Mon Jul 14, 2008 6:54 am

JQuery selectors

Post by smk »

CSS selectors have many limitations, e.g. no backtracking, no content selecting (the parent selector issue has been brought up before often). For these reasons I often find myself writing greasemonkey scripts to block ads where jquery selectors are required.

Some potential issues:
- Not able to hide script-generated dom-modifications, dom listeners could be used for this, but there could be slowdowns.
- Slowdowns, but if filters are written for specific domains I think this is rather tolerable.
- Occasional flickering, but ads are more annoying.

The above issues I think are minor, and even just a simple implementation by matching elements and hiding them on page loads would make abp a lot more powerful.
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: JQuery selectors

Post by mapx »

see also this ticket
https://issues.adblockplus.org/ticket/756

you could comment there or ...file another issue (type change, not defect)
Post Reply