3 ms·
Create a bookmarklet of this: let d = new Date() d.setFullYear(d.getFullYear() - 10) location.href = `https://news.ycombinator.com/front?day=${d.ge
by insin 7y ago
Create a bookmarklet of this:
let d = new Date()
d.setFullYear(d.getFullYear() - 10)
location.href = `https://news.ycombinator.com/front?day=${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}`
- systemtest 7y agoThis will break on February 29 :)
- shadowoflight 7y agoUnless it's ten years past a leap year!
- esrauch 7y agoIf it's Feb 29 then you know for sure it isn't 10 years past a leap year, since they are every four years.
- shadowoflight 7y agoAh, yes, I am an idiot. Oops.