Apple has provided us with an API to update the json used for safari content blockers (SFContentBlockerManager.reloadContentBlockerWithIdentifier) so it's clear that Apple intends for us to make the blocked items customizable.
I've been playing around with it for quite some time now and I'm unable to figure out how you would actually do this.
I've tried different json files to load into the extension (one for ads, one for sites, etc) but sending in more than one file always seems to just break the extension for me.
I've also tried editing the blockerList.json file from within the app but that also seems to break the extension. I've also been told that we're not allowed to edit a resource that is bundled with our app.
The documentation for modifying what content is blocked seems to be nonexistent. Does anyone have an example or at least a link to some documentation that I could use?
Thanks