Check that the hide-if-contains-image-hash snippet is working as expected.
Test that basic usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash 0000007e7e000000 '#basic-target img'
Test that search usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash 0101017f7f0100ff '#search-target > div'
Test that search selection usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash ffffffffffffffff '#search-selection-target > div' 0 8 126x0x44x44
Test that search selection negative usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash ffffffffffffffff '#search-selection-negative-target > div' 0 8 -44x0x44x44
Test that search selection maxDistance usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash ffffffffffffffff '#search-selection-maxdistance-target > div' 1 8 126x0x44x44
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash ffffffffffffffff '#search-selection-maxdistance-target-notblocked > div' 0 8 126x0x44x44
Test that search selection maxDistance blockbits usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash 00000000000016f01ff813d01ff807e007e01ff00ff80ff00f3000000000ffff '#search-selection-maxdistance-blockbits-target > div' 0 16 0x0x159x160
Test that dynamic usage of the snippet works as expected.
dp-testpages.adblockplus.org#$#hide-if-contains-image-hash ff00007e7e140000 '* img'