[Javascript] google webFont loader

Scott Reynen scott at randomchaos.com
Wed May 26 19:16:27 CDT 2010


On May 26, 2010, at 8:49 AM, jeffrey morin wrote:

>>> file://fonts.googleapis.com/css?family=Tangerine%7CCantarell
>
> i was just doing this locally.


I think the Google code does a check to see if you're loading it from  
a site using http: or https: to avoid mixed content security prompts,  
and you're loading your test HTML via file:, so it's trying to load  
via file:.  I suggest you find a way to test on an actual HTTP server,  
even if it's just running on your local machine.

Peace,
Scott



More information about the Javascript mailing list