I took the liberty of turning this into a userscript. Since I was running into trouble accessing global variables from the injected scripts, I forked Mr. Speaker's project and changed the relevant bits in the code.
Edit: Changed all my links to point to mrspeaker's master except the loader. Any changes he makes should get reflected automatically.