Live data from Hacker News

Happy 15th birthday Hacker News

news.ycombinator.com

11–20 of 214 posts

Re: Happy 15th birthday Hacker News

#14
post #3

Wasn’t there a thread recently (can’t find it) about the limit of paging back to the earliest posts and that it actually started in October or similar? And feb is just the earliest the UI will let you click to, so anniversary is actually past already? Not to be a party pooper =|

2006-10-09. Using the “past” link doesn’t include dates around this time.

https://news.ycombinator.com/item?id=28816110

https://news.ycombinator.com/front?day=2006-10-09

Re: Happy 15th birthday Hacker News

#15
post #8

Sharing a small snippet I made to convert all links to web archives from 2007: document.querySelectorAll('.titlelink').forEach((link) => link.href = " https://web.archive.org/web/20070601000000*/ " + link.href);

If you are entering this into the browser console, you can use $$() as shorthand for document.querySelectorAll(), with chromium-based browsers at least. As a bonus, it returns an array so you can map/filter.

Re: Happy 15th birthday Hacker News

#16
post #8

Sharing a small snippet I made to convert all links to web archives from 2007: document.querySelectorAll('.titlelink').forEach((link) => link.href = " https://web.archive.org/web/20070601000000*/ " + link.href);

If you are entering this into the browser console, you can use $$() as shorthand for document.querySelectorAll(), with chromium-based browsers at least. As a bonus, it returns an array so you can map/filter.

Firefox dev tools also have $$ be document.querySelectorAll as Array.
Post reply on HN