Skip to content

Instantly share code, notes, and snippets.

@Getaji
Created September 27, 2022 15:30
Show Gist options
  • Save Getaji/739e60ac0669c22a3f0af27454f27c2e to your computer and use it in GitHub Desktop.
Save Getaji/739e60ac0669c22a3f0af27454f27c2e to your computer and use it in GitHub Desktop.
Wayback Machineで指定URL以下のキャプチャ(アーカイブ)を表示するページを開くスクリプト
(() => {
const s = prompt("URL", location.href);
if (!s) return;
open("https://web.archive.org/web/*/" + s + (s.endsWith("/") ? "*" : "/*"));
})();
(()=>{let e=prompt("URL",location.href);e&&open("https://web.archive.org/web/*/"+e+(e.endsWith("/")?"*":"/*"))})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment