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.

I want to keep an eye on the votes of the ongoing election, but the unsortedness of the list during the primary election phase makes it hard to keep track of anything. So I wrote a quick script that goes through them all and puts a short overview list at the top, sorted by the current vote count.

Currently support is only for StackOverflow, but if requested I can adjust it to run on other Stack Exchange site elections too.

Install and source

Changelog

  • 1.4.x: Added the ability to query the vote count for users that have access to the tools. Also added support for https.
  • 1.3.x: Updated for new election style (as used on Stack Overflow in April 2015)
  • 1.2.x: Display withdrawn users differently
  • 1.1.x: Display user rank, reputation and flag count; visual changes; support for Scriptish’ auto-updates
  • 1.0.x: Initial release

Note: Since the first releases, GitHub has changed its URLs to a new domain which will break the automated update in user script extensions that support it. To update, click the install link above again and update it manually.

share|improve this question

3 Answers 3

The http://stackoverflow.com/election isn't matched.

In addition to:

// @include        http://stackoverflow.com/election/*

it should list

// @include        http://stackoverflow.com/election
share|improve this answer
    
Thanks, updated. –  poke Feb 18 '14 at 14:40
    
@poke: Thanks! Added the 'completed' tag. –  Martijn Pieters Feb 18 '14 at 14:49

(v1.1.0)

Can the table be updated to show a cut-off line? Highlight the top 10 or put a (dotted?) line between the top 10 and the rest of the pack, to show who is going to go through without manually having to count.

share|improve this answer
    
Done! Added some styles and other stuff in v1.1.0. –  poke Feb 19 '14 at 15:34

v1.4.0

Not matching HTTPS protocol requests. Simply change http://... to *://... in the @match annotations.

share|improve this answer
1  
Done with v1.4.0. Thanks for the suggestion! –  poke Apr 13 at 22:19
1  
@poke The new vote feature uses HTTP, which fails on HTTPS :P Best to simply omit the protocol and host when doing AJAX to the same domain. (Line 69) –  Madara Uchiha Apr 13 at 22:34
    
Haha, oops! Totally forgot about that – fixed now ^^ –  poke Apr 13 at 22:37

You must log in to answer this question.

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