Skip to content

yene/CBlocker

Repository files navigation

CBlocker for iOS

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.

screenshotsettings

blockerList

An updated version of the blockerList folder can be found under github.com/yene/blockerList.

HARDCORE: block all 3. party scripts

You can use this JSON file as source and it will block all external scripts. blockThirdParty.json

Todo

  • 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

Maybe Later

  • 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

Questions

  • 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?

Links

Example Sites with many Ads

  • macrumors.com
  • imore.com
  • washingtonpost.com

Original Repository

https://github.com/yene/CBlocker

About

This iOS 9 app lets you use your own filter list in Safari.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published