This app lets you use your own filter list (called blockerList.json) in Safari. You can fork and extend https://github.com/yene/blockerList. Don't forget to enable the Content Blocker inside Safaris settings.
An updated version of the blockerList folder can be found under github.com/yene/blockerList.
You can use this JSON file as source and it will block all external scripts. blockThirdParty.json
- on first run copy example blockerList from bundle to temporary
- grab data from github repo
- check when updated last time
- get all json files recursive
- combine all json files
- send json file to conten blocker
- inform user that he has to toggle content blocker in settings
- Write the data to shared folder
- remove duplicates in blockList
- add icons and artwork
- add blockerList as submodule
- Rename content blocker to something better: CBlocker
- show a spinner
- on first launch show message that you have to enable it in the settings, maybe open settings directly
- replace all NSLog with error message
- inform user that there is an update in the github repo (notification?)
- add support for direct download of json and zip
- block external font hoster? maybe use font tag.tt
- Do i have to toggle the settings or is reload enough? calling reload is enough
- How do i find out if user enabled my content blocker?
- https://www.hackingwithswift.com/safari-content-blocking-ios9
- https://easylist.adblockplus.org/de/
- https://www.webkit.org/blog/3476/content-blockers-first-look/
- https://developer.apple.com/library/prerelease/ios/releasenotes/General/WhatsNewInSafari/Articles/Safari_9.html
- https://developer.apple.com/videos/wwdc/2015/?id=511
- https://gist.github.com/CraftyDeano/777579c628b3d8d50f25
- macrumors.com
- imore.com
- washingtonpost.com