Change all links on blog posts and news articles links' to their archive.org snapshot on the date of publication
Change all links in Stack Exchange, Stack Overflow answers to their archive.org snapshot on the date the answer was posted, and news articles/blog posts to the date they were published. This is a Greasemonkey script which can be installed on any major web browser.
For example, say you click on a link in a Stack Overflow answer, and it goes to a 404, or the contents of the page has changed drastically. This extension, when activated, will change all links in all answers on a Stack Overflow or Stack Exchange question to go to its archive.org snapshot from the date the answer was posted. Therefore, you will see what the author saw when they posted the link in their answer.
Additionally, any news articles or blog posts links’ will be automatically redirected to their archive.org links from when the article was published.
There is a pre-release version of the script available. I will be converting it to a Chrome and Firefox extension soon.
To create the Greasemonkey script, run:
npm install -g browserify
npm install
browserify archiveorg_link_restorer.js > bundle.js
Then, append the header:
// ==UserScript==
// @name StackExchange/Stack Overflow/news articles archive.org link restorer
// @namespace https://github.com/alexyorke/
// @version 0.1
// @description Replace stackoverflow.com and *.stackexchange.com answer URLs with archive.org ones based on the archive.org snapshot of when the answer was posted, and replace links in news articles with those based on when the article was published
// @author Alex Yorke
// @match *://*/*
// @grant none
// ==/UserScript==