Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

About

They're back! Although they were created for April 1st, you can now enjoy them throughout the whole year! Simply install this UserScript and commence upvoting and downvoting.

License

The Unicorn Software License

Download

This script is available as a UserScript:
http://files.quickmediasolutions.com/userscripts/vote.user.js

Simply click the link above to install the script in Chrome. Firefox users need to have the GreaseMonkey extension installed.

Platform

All UserScript capable browsers.

Contact

I can be contacted at admin@quickmediasolutions.com

Code

Written in jQuery using the JavaScript plugin... no wait - that doesn't seem quite right.

share|improve this question
add comment

2 Answers

Unicorn Starring

a userscript to bring unicorns to chat stars!

Only uses the OP images. Same License. Don't sue me George

Install

share|improve this answer
1  
"I'm suing you!" Just kidding - nice UserScript. –  Nathan Osman Dec 9 '11 at 1:36
add comment

I recreated a few more of the original animations as GIFs on imgur (from the static pngs). To use them, just replace the if(vote_up) {} block in above userjs with:

var animations = [
    // down
    [                        //  url    top  height
        ['http://i.stack.imgur.com/BhbcF.gif', 65, 116], 
        ['http://i.stack.imgur.com/notGT.gif', 75, 108],    // duplict BhbcF
        ['http://i.stack.imgur.com/qbHhb.gif', 50, 100],    // was 1Fba1.png
        ['http://i.stack.imgur.com/Xqezn.gif', 50, 114],    // was RXgxY.png
        ['http://i.stack.imgur.com/NI5WN.gif', 50, 102],    // was xBS3c.png
    ],
    // up
    [
        ['http://i.stack.imgur.com/EhQXl.gif', 20, 125],
        ['http://i.stack.imgur.com/ZS0pZ.gif', 25, 100],    // was 1XY5D.png
        ['http://i.stack.imgur.com/rPqDf.gif', 35, 101],    // was 4q8j8.png
        ['http://i.stack.imgur.com/F8N9Y.gif', 35, 150],    // was cBop8.png
        ['http://i.stack.imgur.com/Qetgr.gif', 35, 120],    // was cMyYU.png
    ]
];   
var pick = animations[vote_up ? 1 : 0][parseInt(Math.random()*5)];
var url = pick[0];
var top = pick[1];
var height = pick[2];

It could use some extra parameters for positioning and non-default image widths, but OTOH there is no need to overdo it.

(Still amusing. And all the more useful now that we have +10 question upvotes.)

share|improve this answer
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .