5 ms·
This is a nice little script. function wayback_link(url) { return `https://web.archive.org/web/${url}`; } console.log(wayback_link("https://
by nixpulvis 8y ago
This is a nice little script.
function wayback_link(url) {
return `https://web.archive.org/web/${url}`;
}
console.log(wayback_link("https://github.com"))
- patrickyeon 8y agoI just went to https://web.archive.org/web/news.ycombinator.com https://web.archive.org/web/news.ycombinator.com (no date in the url) and it sent me to the most recent snapshot.
- nixpulvis 8y agoPerfect, of course that's how this should work. Updated :P
- yellowapple 8y agoIf you use DuckDuckGo as your default search engine, it's also enough to (in Firefox or Chrome or any other browser where the URL bar functions as a search bar) prepend the URL with "!wayback " (without the quotes, but with the trailing space). You could also do the same with "https://web.archive.org/web/" https://web.archive.org/web/", but "!wayback " is easier for me to remember.