3 ms·
> Asynchronous requests were made by changing the src attribute of a 1px <iframe>. And you're posting on a site that still does it that way - voting on HN work
by Deimorz 8y ago
> Asynchronous requests were made by changing the src attribute of a 1px <iframe>.
And you're posting on a site that still does it that way - voting on HN works by creating an <img> and setting the src attribute to the vote url.
- spraak 8y agoThat's really interesting. How does it however wait to vote until you press the up or down arrow?
- Deimorz 8y agoOh, Javascript creates the <img> tag when you click the arrow, it's not present beforehand.
- _bxg1 8y agoThat's interesting, but Hackernews doesn't exactly handle top-security data. I've always been surprised/charmed by how old-school this site is. In some ways it's nice - it's blazingly lightweight - but it seems ironic that a tech incubator wouldn't have updated their website in ~12 years.