'blockparty contents blocker selectors

I use blockparty(https://github.com/krishkumar/BlockParty) for ad-blocking on my wkwebview.

The webpage I want to block ads on has the source code as follows.

<ins class="cus_ad_area recomm_ad" ...

I added selector like,

 {
      "action": {
      "type": "css-display-none",
      "selector": ".cus_ad_area, .recomm_ad, .ad_area .promotion"
    },
      "trigger": {
      "url-filter": ".*"
    }
 },

but doesn't work.

Can you help me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source