What's the proper way to create whitelists when using Safari content blocker API? https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/ContentBlocker.html
Imagine I have an adult content blocker like this one, but instead of 3 domains, 50000. (I already did it and it works)
[
{
"action": {
"type": "block"
},
"trigger": {
"url-filter": ".*",
"if-domain": ["*xvideos.com", "*pornhub.com", "*xxx.com"]
}
}
]
How should I add a whitelist? Do I have to create a second blocker with other rules or do I have to modify my adult content blocker to remove the whitelisted domains programmatically in real time, generate another JSON and reloading it?