BlockAnalytics

Sample Safari Content Blocker Extension for iOS 9.

21
4
Swift

BlockAnalytics

Sample iOS 9 Safari Content Blocker. Built in Xcode 7 Beta 1.

Currently setup to block JavaScript from:

  1. Google Analytics
  2. Chartbeat
  3. Twitter
  4. comScore
  5. Google Doubleclick

About Safari Content Blocker

Installation

  1. Device must be on iOS 9
  2. Open in Xcode 7 to build
  3. Build to device
  4. Settings > Safari > Content Blockers
  5. Enable BlockAnalytics

Browse with Safari to a website with Google Doubleclick ads, and they won’t display or slow down the pageload.

To Do & Known Issues

  • The reloadContentBlockerWithIdentifier function is not working. This was resolved with iOS 9 Beta 5.