Scraping Raw CSS and HTML with YQL
For a recent project I needed a way in JavaScript to pull the sources of a remote stylesheet and a remote webpage, each as plain strings. The immediate problems were with cross-origin resource sharing policies (i.e. you can’t simply load an html resource that’s not on your domain or that is not on a server […]
Fixing Google Fonts in Chrome for Windows
Update: This is actually all better now, and no longer relevant. How the times change! Google Fonts is a fantastic service, but there is one major problem with using it: Your custom fonts will render like crap in Chrome for Windows–hideous, deal-breaking crap. If you’re familiar with the effect, you’ll recognize immediately that the word […]