How do I use Rocket Loader with TypeKit?

Typekit

If you are using Typekit, Cloudflare recommends the following manual update to your JavaScript to ensure there is no issue with how your font loads:

BEFORE CHANGE:
     
      <script type="text/javascript" src="http://use.typekit.com/YOUR-KIT-ID.js"></script>

<script type="text/javascript">try{Typekit.load();}catch(e){}</script>        

AFTER CHANGE:
     
     <script data-cfasync="false" type="text/javascript" src="http://use.typekit.com/YOUR-KIT-ID.js"></script>

<script data-cfasync="false" type="text/javascript">try{Typekit.load();}catch(e){}</script> 

Still not finding what you need?

The CloudFlare team is here to help. 95% of questions can be answered using the search tool, but if you can’t find what you need, submit a support request.

Powered by Zendesk