Votey Greasemonkey script

Material specifically relating to SMBC and related projects.
curufinwe
Posts: 2
Joined: Mon Jun 11, 2012 2:34 am

Votey Greasemonkey script

Post by curufinwe »

I was enjoying browsing the comics with the keyboard, but was annoyed that I couldn't see the voteys. So I made a greasemonkey script to let you see the voteys with keyboard. Press v to toggle display of votey.

Now, I can't upload it, but here's the pastebin:

http://pastebin.com/HSeT0tES

What you do is copy and paste the code into a file, rename the file something like smbc.user.js (so a name ending in .user.js), and then install in Greasemonkey in Firefox or just open it in Chrome. You can inspect it yourself to see that it isn't malicious or anything. This annoyed me a lot, so it may annoy others.

curufinwe
Posts: 2
Joined: Mon Jun 11, 2012 2:34 am

Re: Votey Greasemonkey script

Post by curufinwe »

OK, here's a version which works on the front page, too:

http://pastebin.com/rSCFJwtX

User avatar
Salacious Schoolmate
[Insert Here]
Posts: 202
Joined: Wed Jun 06, 2012 12:32 pm

Re: Votey Greasemonkey script

Post by Salacious Schoolmate »

Truly, we were lost before you arrived.

User avatar
Lethal Interjection
Death by Elocution
Posts: 8048
Joined: Wed Oct 12, 2005 2:17 pm
Location: Behind your ear. It's magic!
Contact:

Re: Votey Greasemonkey script

Post by Lethal Interjection »

And so was he.*


*Or she. I'm no chicken sexer.

User avatar
sotic
[Insert Here]
Posts: 325
Joined: Thu Aug 04, 2011 5:55 am
Location: Wisconsin
Contact:

Re: Votey Greasemonkey script

Post by sotic »

Every time I see something like

Code: Select all

if ((evt.keyCode) == 86){
I sigh because character literals as integers are one of many things Javascript should have inherited from C.
Wind catches lily / Scatt'ring petals to the wind: / Segmentation fault

grapeape

Re: Votey Greasemonkey script

Post by grapeape »

Mine's for the more lazy among us. It just replaces the votey button with the actual votey image.

http://pastebin.com/HQAQP3fi

Post Reply