Created
January 24, 2010 06:32
-
-
Save mori-dev/285048 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
// keysnail の being 検索の置換. | |
key.setViewKey('M-b', function (aEvent) { | |
prompt.read("ALC search:", function (query) { | |
if (window.loadURI) { | |
getBrowser().selectedTab = getBrowser().addTab("http://eow.alc.co.jp/" + encodeURIComponent(query)); | |
} | |
}); | |
}, 'ALC検索'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment