Created
March 10, 2023 09:41
-
-
Save iiviigames/05f368e973ef9cd7f3962eb10ef09c28 to your computer and use it in GitHub Desktop.
Archive.org Helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(window.open(/(https:\/\/web.archive.org\/web\/\d+)(.*)/.exec(String(location.href))[1] + String(location.href).replace(/(https:\/\/web.archive.org\/web\/\d+)(.*)/.exec(location.href)[1], 'if_')) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:void(window.open('https://web.archive.org/web/*/'+location.href.replace(/\/$/, ''))); |
If anyone says anything about how inefficient that regex is - I'll regex your car to the roof.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a bookmark, add this as the url, and give it a good name. That's it.
The second one is used to open the archive of whatever page you're on currently.
The first one will open a beautified form of that page.