title: On Reddit, how do scripts get the number of upvotes and downvotes for a comment?
body: <p>On <a href="http://www.reddit.com/" rel="nofollow">Reddit</a>, people can post comments that get upvotes and downvotes. This information is not readily accessible on the page itself, so it seems that something like an API is used to gather this information.</p>
  
  <p>I found <a href="http://userscripts.org/scripts/review/56641" rel="nofollow">this script that does this</a>, but am unable to determine where in the script it pulls this information from. Could someone point me to the relevant line where the script gets the data from?</p>