I made a GreaseMonkey script a while ago to get familiar with JavaScript, and I thought other people may find it interesting too.
For people who don't know, GreaseMonkey is an extension for Firefox that allows the user to install scripts that (usually) enhance a specific website. You can get the extension here. Chrome also supports GreaseMonkey scripts natively.
Now on to my script (Scroll down if you prefer clicking over reading). Some or most of you may know that a while ago Mr. North added overlays as a joke, that replace T-Rex and friends with characters from other webcomics or with alternate universe dinosaurs with less tolerance for cold and a hint of fashion sense. That's a nice addition, but it was pretty hidden, since you manually had to add a part to the page URL, and also had to remember all the different overlays. That's hard, a bit annoying, and you'd also be liable to miss a lot of the overlays. That's where my script comes in. It adds a drop-down list to the top of each comic page, where you can select the overlay you want, like this:
(Of course, I picked this overlay entirely randomly.)
Enough talk, download the script here. I hope it's useful, interesting or funny to at least some of you.
I think I've got all the available overlays in there, but if I missed any, please let me know, and I'll add them. If you've got other suggestions, let me know too, and I'll see what I can do!
Changelog:
1.0: Initial version.
1.1: Fixed a small bug where the dropdown box was visible on other pages than the comic ones.
1.2: Added two more overlays I previously missed, "A Lesson Is Learned But The Damage Is Irreversible", and "Buttercup Festival" (Thanks eightDash!)
1.3: Mr. North added some new overlays, and so did I! ("The Last Dinosaur Comic Ever", "Sweet Bro And Hella Jeff", "Just About T-Rex", "DC Comics", and "About Pirates")
1.4: Script suddenly broke, fixed in this version.
1.5: Changed location of dropdown box (from header to below the comic), and added new overlay ('The RIAA Version Of The Internet').
1.6: Added GreaseMonkey menu (click the monkey icon in the addon bar), added location choice, favorite overlays, and custom overlays. Also a bit of attempted wit.
1.7: Added 'Brodyquest' overlay (thanks for the heads-up, Mattgcn). Also slightly updated the script's description.



Reply With Quote












