Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lurado/SansFonts

WebKit Content Blocker to block web fonts in Safari (iOS & macOS)
https://github.com/lurado/SansFonts

blocker content-blockers icon-font web-fonts webkit-content-blocker

Last synced: 3 months ago
JSON representation

WebKit Content Blocker to block web fonts in Safari (iOS & macOS)

Awesome Lists containing this project

README

        

# Sans Fonts

![Sans Fonts icon](SansFonts-macOS/Assets.xcassets/AppIcon.appiconset/MacIcon-128.png)

## 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](https://jlnr.de/2015/09/13/sans-fonts.html) for the motivation behind this project.

## Download

You can [download the iOS 9 app here](https://itunes.apple.com/us/app/sans-fonts/id1037531461?mt=8).

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](https://github.com/jlnr/SansFonts/releases).

## 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](content-blocker/blockerList.json) 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, [email protected]

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