Screenshot

About

The vote counts are a great tool to determine whether an answer is disputed or not. Unfortunately, not many of us have enough time to join all Stack Exchange websites and get 1000 reputation.

This script unlocks the "View Vote counts" feature for those who are not logged in or don't have 1k reputation. The look and feeling of the feature is identical to the original one.

Recognises posts at questions, question lists, /review/ pages and search results.

License

Creative Commons 3.0 SA - Same as footer. You may modify and distribute this script S, provided that you mention the original author of the script A.

Download

The code is available in three forms:

Platform

The code is OS-independent. It should at least work in the following browsers:

  • Firefox 3.0 - 31
  • Opera 9.00 - 12.00
  • Chrome 1 - 56
  • Internet Explorer 7 - 10
  • Edge 12 - 15
  • Safari 3.2 - 5.1

Contact

Please send your feedback to rob@robwu.nl.

Code

This script is written in JavaScript and a bit of jQuery. It depends on the Stack Exchange API (v2, JSONP).

When the Vote counts feature is disabled, the Vote counts buttons don't have a tooltip. The script checks for the existence of the tooltip, and adds the feature when necessary. If the tooltips already exist, the script does not add any visible modifications to the page.

A detailed explanation of the code is listed in the source code (direct link, or via the overview page). The change log is listed at the overview page.

  • Seems buggy. Screws with upvote and downvote buttons. Count breaks if you mess with screwed up upvote and downvote buttons. But, it does what it's supposed to... thanks :) – GGG Feb 6 '12 at 21:55
  • @GGG I have uploaded a new version, which adds a CSS-fix for IE7-. Do you still observe the bug? If yes, please specify your browser version and OS. – Rob W Feb 6 '12 at 23:18
  • Yep, it's still messed up. Click the vote count, then click vote up a few times, then click the vote count again. I'm using a somewhat old chromium on a somewhat old ubuntu. 16.0.912.75 (Developer Build 116452 Linux) Ubuntu 11.04 – GGG Feb 7 '12 at 1:22
  • 4
    Nice work, Rob! If you wanted, you could save some bytes by omitting type="text/css" on the <style> element — it’s optional in HTML5 anyway, and it still works in all browsers without. – Mathias Bynens Feb 13 '12 at 12:50
  • 3
    Good script. Makes me wonder, if the information is available via the API anyway, then why does SE hide it? – user2428118 Oct 3 '12 at 14:11
  • 5
    @user2428118 See Jeff's answer at meta.stackoverflow.com/a/1007/169101. – Rob W Oct 3 '12 at 14:57
  • 2
    @RobW My apologies, I didn't realize that you had to click on the counters for the upvotes/downvotes to appear. I assumed it would automatically replace all the counters. But no matter, this is a great extension! Thanks :) – Paul T. Jan 4 '13 at 15:44
  • 2
    Just had the thought, I'd certainly like to use an app/script which would alert me to any questions/answers that have been downvoted with no comment given so I could counter it and upvote them since that form of downvoting practice doesn't help out the user who posted the question/answer thus fails to support the community. – Myzifer Jun 14 '13 at 12:59
  • 7
    @Myzifer Don't practice pity upvoting, that's harmful. If you get alerted of all downvotes, your computer would explode on Stack Overflow, given the huge volume of questions. Lots has already been said about this topic, just search for "pity upvoting" or "sympathy upvoting" on meta.stackoverflow.com. – Rob W Jun 14 '13 at 13:13
  • 1
    I wouldn't think of it as pity or sympathy but more re-balancing as such downvotes serve no purpose being there without feedback. – Myzifer Jun 14 '13 at 13:23
  • 1
    @DImension10AbhimanyuPS Added Mathoverflow.net to list of sites. – Rob W Sep 5 '13 at 10:55
  • 2
    userscripts.org is dead. Is this script available anywhere else? – Jeffrey Bosboom Jun 28 '14 at 2:12
  • 2
    Is this even allowed? – clickbait Jun 7 '16 at 4:13
  • 1
    @NarawaGames Yes, this is allowed. – Rob W Jun 7 '16 at 7:25
  • 2
    When I first saw this script I assumed it would just show upvotes and downvotes when the page loaded, but it turns out you need to click on the vote count to see them. Even though this is normal for SE I find it kind of counter-intuitive and I'll leave this comment here in case anybody gets stuck. – jrh Jun 22 '17 at 13:14

Bug Report ()

  • Go to a tag page, for example this one.
  • You will see a question, such as this:
  • Find the vote and answer count on the left.
  • Click the vote count.
  • You will then get a message in the error console that says Post ID not found! Please report this at http://stackapps.com/q/3082/9699

So now I'm reporting it.

  • 1
    Thanks for reporting, I've even forgotten that I've added that link to the error message. Turns out to be useful ;) I'll check it out later. – Rob W May 22 '13 at 13:17
  • 1
    Fixed :) The last update (v1.5.3) introduces a feature which is not even available to 1k+ users: View vote totals at the questions list and search results. – Rob W May 23 '13 at 9:54

Bug report ()

It doesn't work for the new Stack Overflow em Português.

The following @match entries in the script:

// @match          http://stackoverflow.com/questions/*
// @match          http://meta.stackoverflow.com/questions/*
// @match          http://stackoverflow.com/review/*
// @match          http://meta.stackoverflow.com/review/*
// @match          http://stackoverflow.com/search*
// @match          http://meta.stackoverflow.com/search*

Should be changed to:

// @match          http://*.stackoverflow.com/questions/*
// @match          http://*.stackoverflow.com/review/*
// @match          http://*.stackoverflow.com/search*

This will catch SO and SOpt and their respective Meta sites.

  • 1
    Thanks for reminding me, I've just updated the extension and uploaded the updated script to Greasyfork: greasyfork.org/en/scripts/…. – Rob W Oct 31 '14 at 21:18
  • 1
    Bravo, spreading the word, I mean, espalhando a notícia :) – brasofilo Oct 31 '14 at 21:27

Feature Request

Can we get a setting to show the counts automatically without clicking?

  • 27
    Automatically showing up/down votes puts lots of load on the Stack Exchange API, so I'm probably not going to add the feature. Besides, the net vote count is usually the most interesting number. Downvotes are only relevant if you want to see whether the contents of a post are disputed. – Rob W Jun 11 '13 at 15:42
  • @RobW: Perhaps only show vote count for directly accessed questions (by "direct" I mean excluding question feed)? – user598527 Oct 21 '17 at 10:00


Is it possible to view vote counts on Area51 proposal questions?
It would be helpful to see where the followers are being stingy with each other, and then open a question to discuss it.

Feature Request

Can you include new images for this script?

Like this

  • ¿Hruh​‌​‌​‌​‌​‌? – Brock Adams Aug 21 '16 at 4:43
  • 1
    Which new images? The script itself does not have any images. Or do you mean the screenshot? I'll leave it at the current state since it is still recognizable. – Rob W Aug 21 '16 at 9:14

You must log in to answer this question.

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