I am currently working on a safari app extension which blocks certain elements from a social media page. For example I want to block the number of likes. When checking in the web console of safari I see the div element My problem now is I am not sure how I can block this element through my blockerList.json. This is my approach but it seem not to work:
"action": {
"type": "block",
"selector": "div._97aPbwKWK0"
}
"trigger": {
"url-filter": ".*instagram.*"
}
My question would be, do I have to inject some js or what would be a better approach ? Thankful for any help.