Writing this to save for posterity on the blog since it is only in a gist currently.
There is a pretty big site that we have at work (1000+ pages probably) and I needed to find all the links in the site to a certain page and see what the query string parameters were for those links.
Each query string could have multiple keys and values, and all I needed was a unique array for all the values for each key.
Update: Since switchin to the Hyde theme, I’ve ditched the pushState stuff. It was fun to play around with, but it’s not really meant for a…
Apparently, everyone knows that setTimeout console bombs are the best. I didn’t until my friend Tony Camp showed me but now I can see the light and I’m never going back. This is something that I whipped up so you can throw it in the console of your best friend (or enemy) and try to give them a seizure. Everyone wins.
A friend of mine told me a few weeks ago that he wanted to make a Chrome plugin to display Pitchfork album scores on Rdio album pages. This seemed like an interesting idea to me, and I wanted to take a stab at the JavaScript for it. The following is a rundown of my thought process while researching the problem and the end result.