Created
June 16, 2011 05:02
-
-
Save 958/1028699 to your computer and use it in GitHub Desktop.
[keysnail]HoK拡張ヒントモードから画像でgoogle画像検索
This file contains hidden or 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
plugins.options['hok.actions'] = [ | |
[':', | |
'Google image search', | |
function(e) { | |
if (e.src) { | |
let url = 'http://www.google.com/searchbyimage?image_url=' + encodeURIComponent(e.src); | |
openUILinkIn(url, 'tab'); | |
} | |
}, | |
false, false, 'img'], | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment