I'm currently building an ad blocker. How do I configure it to remove the spaces where ads appear. I saw example
{
"action": {
"type": "css-display-none",
"selector": "#someCssElement"
},
"trigger": {
"if-domain": ["blahblah.com"],
"url-filter": ".*"
}
}
This rule will hide div <div id="links">
But i can't understand how can i build filter for examples like this:
<div class="placeholder h250" data-stat-type="media" data-stat-value="61015dfbf96595540436fb21">
How do I configure it to remove the spaces where ads appear?