Element Hiding Emulation / Extended Selectors

Check that element hiding emulation functionality is working as expected.

With the filter displayed below each test case added to ABP (or with the testcase subscription installed and active), the red target elements in each test case panel should be hidden while any green elements should not be hidden.

Basic :-abp-properties() usage

Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-properties(width: 213px)

Basic :-abp-has() usage

Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-has(>div>img.testcase-es-has)

Basic :-abp-contains() usage

ESContainsTarget
Content

Filters

testpages.adblockplus.org#?#span:-abp-contains(ESContainsTarget)

Chained extended selectors

Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-has(> div:-abp-properties(width: 214px))

Case insensative extended selectors

Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-properties(WiDtH: 215px)

Wildcard in extended selector

Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-properties(cursor:*)

Regular expression in :-abp-properties()

Target
Target
Not a Target
Content

Filters

testpages.adblockplus.org#?#div:-abp-properties(/width: 12[1-5]px;/)

Regular expression in :-abp-contains()

ESContainsRegEx1
ESContainsRegEx2
ESContainsRegEx3
Content

Filters

testpages.adblockplus.org#?#div > div :-abp-contains(/Target/)

More information