WebKit Content Blocker to block web fonts in Safari (iOS & macOS)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SansFonts-macOS
SansFonts.xcodeproj
SansFonts Bump version to 1.5 Mar 26, 2017
content-blocker-mac Bump version to 1.5 Mar 26, 2017
content-blocker Bump version to 1.5 Mar 26, 2017
fastlane Add Fastlane to automate iOS releases (#37) Mar 26, 2017
iTunes Add Fastlane to automate iOS releases (#37) Mar 26, 2017
.gitignore Add Fastlane to automate iOS releases (#37) Mar 26, 2017
README.md Fix broken icon in README.md Sep 26, 2016
Rakefile
SansFonts.entitlements Prepare macOS app for upload Nov 14, 2016
blockerList.json Fix #49 with an exception for Apple's web fonts Mar 26, 2017

README.md

Sans Fonts

Sans Fonts icon

A WebKit Content Blocker That Kills Web Fonts With Fire

…except for icon fonts, because they don’t delay text rendering.

See my blog post for the motivation behind this project.

Download

You can download the iOS 9 app here.

If you are using Safari 9 or later (not necessarily on El Capitan!), you can download the code-signed Safari extensions from the releases page.

Limitations

  • Content blockers cannot block fonts that are embedded in CSS files using data: URLs. (Yes, that is a thing.)
  • Sans Fonts uses primitive heuristics to exclude Font Awesome and other icon fonts from being blocked — some non-icon fonts will probably slip through the cracks.
  • The blocker list is still very basic. I am using this extension for my daily browsing, though, so major bugs should be squished fast enough.

Related Reading

This blog post was more helpful than the documentation on the Apple developer site: https://www.webkit.org/blog/3476/content-blockers-first-look/

License

The media assets in here (PNG and Sketch files) are licensed under the Creative Commons BY-SA 4.0 license. The author is: Julian Raschke, julian@raschke.de

All other files, including the source code and all build files, are released under the MIT license. Enjoy!