Skip to content

Instantly share code, notes, and snippets.

@iiviigames
Created March 10, 2023 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iiviigames/05f368e973ef9cd7f3962eb10ef09c28 to your computer and use it in GitHub Desktop.
Save iiviigames/05f368e973ef9cd7f3962eb10ef09c28 to your computer and use it in GitHub Desktop.
Archive.org Helpers
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_')) )
javascript:void(window.open('https://web.archive.org/web/*/'+location.href.replace(/\/$/, '')));
@iiviigames
Copy link
Author

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.

@iiviigames
Copy link
Author

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