Commit 70cffaf4 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Merge branch 'source.ind.ie/better/content/issues/157' into 'master'

Whitelist: typekit.com Closes #157.



See merge request !102
parents 674d55a7 c95e40ff
# Typekit by Adobe (typekit.com)
> “Typekit is a service which allows designers and developers to use high-quality fonts in their work through a subscription plan to their font library.” – [Source](https://en.wikipedia.org/wiki/Typekit)
## Why is it whitelisted?
To not break the web. When custom fonts are removed, layouts dependent on the width of the characters can be broken, and characters that are not supported by the browser’s default font can be rendered incorrectly. ([See examples of problems with icon fonts](http://ianfeather.co.uk/ten-reasons-we-switched-from-an-icon-font-to-svg/).)
## Decentralised alternatives
Decentralised, free and open alternatives that adhere closer to the [Ethical Design Manifesto](https://ind.ie/ethical-design).
* [Fontspring](https://www.fontspring.com/web-fonts) has a library of paid-for fonts, and allows you to self-host without requiring any tracking scripts to be installed with the web fonts.
* [Fontsquirrel](https://www.fontsquirrel.com) has a library of free and open fonts and a generator to help embed them on your own site.
## Block rule
Although the content itself is allowed to load, we block cookies to make sure that it does not track people.
```mson
- trigger:
- url-filter: typekit.com
- action:
- type: block-cookies
```
## Notes
* “In order to provide the Typekit service, Adobe may collect information about the fonts being served to your website.” [Source](http://www.adobe.com/privacy/typekit.html)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment