Skip to content

Instantly share code, notes, and snippets.

@iberianpig
Created October 13, 2014 08:43
Show Gist options
  • Save iberianpig/c6098ce654c13b4cd34c to your computer and use it in GitHub Desktop.
Save iberianpig/c6098ce654c13b4cd34c to your computer and use it in GitHub Desktop.
imagictのブックマークレット。ダイアログorタブで開く。
javascript:(function(){var w=(document.all)?document.selection.createRange().text:(window.getSelection()+'');if(!w)w=prompt('Imagictで検索したいワードを入力してください。','');if(w!=null)window.open('http://imagict.com/words/search?dictionary=en_ja&word='+encodeURIComponent(w));})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment