Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/lurado/SansFonts
- Owner: lurado
- Created: 2015-09-09T19:26:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-26T21:06:56.000Z (over 7 years ago)
- Last Synced: 2024-06-03T21:55:42.600Z (5 months ago)
- Topics: blocker, content-blockers, icon-font, web-fonts, webkit-content-blocker
- Language: Ruby
- Homepage:
- Size: 35.9 MB
- Stars: 25
- Watchers: 5
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
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!