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.

Screenshot / Code Snippet

enter image description here

About

Ever wish you could tell more about a user's acceptance rate than just the percentage? Sure, you can hover over the acceptance rate to view the number of questions asked and the number of accepted answers, but who has time for that these days? Instead, just use my handy-dandy script, and you will be able to see that information right there beside the user's accept rate. It's that easy!

Download

Install | View source

Platform

Tested on Firefox 3.6 and Chrome 9.0, on Windows 7. Requires Greasemonkey on Firefox.

License

Do whatever you want, as long as you don't sell it or claim you wrote it. If you make any cool modifications, let me know!

Source

It seems that userscripts.org is dying. Here is the code:

// ==UserScript==
// @name           accept rate details
// @namespace      stackoverflow
// @description    Shows more details of accept rate on Stack Overflow sigs.
// @include       http://stackoverflow.com/*
// @include       http://meta.stackoverflow.com/*
// @include       http://superuser.com/*
// @include       http://meta.superuser.com/*
// @include       http://serverfault.com/*
// @include       http://meta.serverfault.com/*
// @include       http://askubuntu.com/*
// @include       http://meta.askubuntu.com/*
// @include       http://answers.onstartups.com/*
// @include       http://meta.answers.onstartups.com/*
// @include       http://nothingtoinstall.com/*
// @include       http://meta.nothingtoinstall.com/*
// @include       http://seasonedadvice.com/*
// @include       http://meta.seasonedadvice.com/*
// @include       http://crossvalidated.com/*
// @include       http://askdifferent.com/*
// @include       http://meta.crossvalidated.com/*
// @include       http://stackapps.com/*
// @include       http://*.stackexchange.com/*
// @exclude       http://chat.stackexchange.com/*
// @exclude       http://api.*.stackexchange.com/*
// @exclude       http://data.stackexchange.com/*
// @exclude       http://area51.stackexchange.com/*
// ==/UserScript==

(function() {

  function with_jquery(f) {
    var script = document.createElement("script");
    script.type = "text/javascript";
    script.textContent = "(" + f.toString() + ")(jQuery)";
    document.body.appendChild(script);
  }; 

  with_jquery(function($) {
      var regex = new RegExp("([\\d]+) of ([\\d]+)");

      $(".post-signature.owner > div").each(function() {
        if($(this).text().indexOf("accept rate") > 0) {
          var matches = this.title.match(regex);
          if(matches.length == 3)
            $(this).text($(this).text() + " (" + matches[1] + "/" + matches[2] + ")");
        }
      });
    }
  );
})();
share|improve this question
    
This is the kind of things that should be already implemented in StackExchange ;) –  Oscar Mederos Apr 29 '11 at 15:55
    
This is broken in latest stable Firefox on Windows 7. Also is broken in all Firefox versions on Ubuntu Linux. –  Thomas W. Feb 6 '12 at 18:44
    
@ThomasWard: it is working for me on FF 10.0 on Win7. It only shows on questions which already have the accept rate percentage shown. Are you sure you aren't just looking at questions from users that haven't asked enough questions for the percentage to show? –  Kip Feb 8 '12 at 18:58
    
@Kip: check my questions on askubuntu.com. I have enough questions asked/accepted-answered to show a ratio. So do other users with high rep. It does not show the actual numbers, only the percentage. –  Thomas W. Feb 8 '12 at 21:18
    
@ThomasWard it is working for me on AskUbuntu, here's a screenshot: i.stack.imgur.com/OgYtF.png Do you have any other user scripts installed that might be modifying the user profile card somehow? –  Kip Feb 9 '12 at 18:37
    
@Kip the only other script I'm running that affects that same box is your script which shows absolute timestamps: stackapps.com/questions/2528/…. I've got other mods such as pro-forma comments, and a couple of others, but they dont modify the user profile card at all. –  Thomas W. Feb 9 '12 at 19:24
    
I should add they work well together in Kubuntu. The same cannot be said for Windows. –  Thomas W. Feb 9 '12 at 19:27
add comment

You must log in to answer this question.

Browse other questions tagged .