Skip to content

Instantly share code, notes, and snippets.

Created June 25, 2015 00:05
Show Gist options
  • Save anonymous/d45857e4b6d7d1af9865 to your computer and use it in GitHub Desktop.
Save anonymous/d45857e4b6d7d1af9865 to your computer and use it in GitHub Desktop.
Testing Safari Content Blocker on iMore.com
[
{
"action": {
"type": "block"
},
"trigger": {
"url-filter": ".*",
"resource-type": ["script"],
"load-type": ["third-party"],
"if-domain": ["imore.com"]
}
},
{
"action": {
"type": "css-display-none",
"selector": "div.recent-posts"
},
"trigger": {
"url-filter": ".*",
"if-domain": ["imore.com"]
}
},
{
"action": {
"type": "css-display-none",
"selector": "div.netshelter-ad-inner"
},
"trigger": {
"url-filter": ".*",
"if-domain": ["imore.com"]
}
}
]
@DLWRPablo
Copy link

blockerList.json File!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment