Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(Old Version) Install this as a bookmarklet and it will show the site's colophon if it uses TypeKit.
javascript:a=document.getElementsByTagName('script');y=''; for (i=0;i < (a.length - 1);i++) { x=a[i].getAttribute('src'); if(x) { if ('typekit') >= 1) { var y='' + x.substring(23,30); } } } if (y != '') { window.location.assign(y); } else { void(y); alert('This site doesn\'t use Typekit!'); }
Copy link

If you're here, I suggest you check out either my updated version that is a fork of markpasc's work, or pdokas' self-contained bookmarklet, which I also use in my updated version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment