We’ll start by walking through some of the thinking habits and techniques in hacking the xkcd titles GreaseMonkey script. Greasemonkey is a Firefox plugin, so grab a copy if you don’t have one.
Also grab the GreaseMonkey addon
And the xkcd titles userscript
If you aren’t familiar with XKCD, you should be.
My go-to reference for javascript is Mozilla Developer Network
FireBug is a very useful tool for inspecting a web page, and will likely be helpful in your hacking adventures.
A basic text editor will also be helpful. TextMate is popular and good. kedit or gedit on Linux similar. I s’pose Notepad is the Windows equivalent. If you’ve done XML work in the past, you might have <oXygen/>, which also has a pretty darn good javascript editor.
Other suggestions? Please leave in the comments.
After we’ve spent a little while walking through hacking the xkcd userscript, we’ll turn it loose for everyone to do their own hacking on this slightly more interesting userscript, which modifies the THATCamp Campers page in a couple of ways.
2 pings
Ian T. Thomas » Blog Archive » My THATCamp Prime 2011
June 13, 2011 at 6:00 pm (UTC -5) Link to this comment
[…] I wanted to take in, but there was plenty to be had. The first sessions I attended was called Intro to Hacking and facilitated by Patrick Murray-John. There, we dug into Greasemonkey scripts and hacked into the […]
An eventful few months | Miriam Posner's Blog
July 3, 2011 at 4:19 pm (UTC -5) Link to this comment
[…] yacking sessions, I, a professional yacker, preferred the hacking sessions. My favorites included hacking some JavaScript with Patrick Murray-John and building a WordPress theme from scratch with Jeremy Boggs. I also got […]