Sunday, 29 September 2013

how to detect if imported webfont has http error?

how to detect if imported webfont has http error?

I am importing webfonts in css files using @font-face
looking for a way to track http errors that may block fonts from loading,
such as 500 errors due to firewalls.
How can I detect such an event using Javascript?

No comments:

Post a Comment