new Image().src = el.href;
Where href looks like this: vote?id=xxxxxxxx&how=up&auth=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&goto=item%3Fid%3Dzzzzzzzz#wwwwwwww new Image().src = el.href;
Where href looks like this: vote?id=xxxxxxxx&how=up&auth=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&goto=item%3Fid%3Dzzzzzzzz#wwwwwwwwEdit: I'd be more worried about repeated calls - but presumably the service being called is idempotent.
https://stackoverflow.com/questions/705782/why-shouldnt-data...
XMLHttpRequest has been around for about 7 years then and using it was called Ajax for about 2 years already.
This is used for write-only GET requests (with graceful fallback when JS is disabled since those are plain anchor elements).
Conceivably this would make the architecture more robust against vote-spamming attacks, and the approach would also provide an enhanced version of this benefit if using an external caching reverse-proxy service like CloudFlare or similar (though I believe HN does not use CloudFlare).
This is complete supposition on my part.