pseudo selectors `-abp-has` not working as expecetd..
Environment
ABP Version number: 3.11.4
Browser: Mozilla Firefox 96.0.3 (64-bit)
OS: Linux Mint 20.3
Active Lists:
- ABP filters
- Easylist
- IndianList+EasyList
How to reproduce
- Go to http://indianewscentre.in/
- add below custom filter
indianewscentre.in#?#.single_post_content:-abp-has(> h2 > span:-abp-contains(Advertisement))
...
Observed behavior
The Hide filter is not getting applied.
While investigation found that one of the below entry in IndianList
is causing the error..
news18.com#?##right div:-abp-has( > div.nw18-dfp-ad)
With a pear review found that removing the space right after the round bracket -abp-has(
fixes it.
Update to
news18.com#?##right div:-abp-has(> div.nw18-dfp-ad)
.
The Space is caused due to the FOP Script
looks the #?#
with ID-SELECTOR(#
) is not behaving as expected.
Expected behavior
The #?#
should behave same for all kind of selectors..