Created
November 26, 2008 03:03
-
-
Save yoshimov/29251 to your computer and use it in GitHub Desktop.
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
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