Skip to content

Instantly share code, notes, and snippets.

@yoshimov
Created November 26, 2008 03:03
Show Gist options
  • Save yoshimov/29251 to your computer and use it in GitHub Desktop.
Save yoshimov/29251 to your computer and use it in GitHub Desktop.
CmdUtils.CreateCommand({
names: ["archive search", "get archive"],
description: "Search Internet Archive Wayback Machine.",
icon: "http://web.archive.org/favicon.ico",
homepage: "http://web.archive.org/",
author: { name: "Yoshimov", email: "yoshimov@pobox.com"},
preview: "Search the current page archive.",
execute: function(){
var document = CmdUtils.getDocument();
var addr = 'http://web.archive.org/web/*/' + document.location.href;
Utils.focusUrlInBrowser(addr);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment