This blog post was brought to you by the generosity of AJATT's patrons!

If you would like to support the continuing production of AJATT content, please consider making a monthly donation through Patreon.

Right there ↑ . Go on. Click on it. Patrons get goodies like early access to content (days, weeks, months and even YEARS before everyone else), mutlimedia stuff and other goodies!


[kb] Kotobank Dictionary Bookmarklet

Lately, I’m preferring Kotobank to Goo — better dictionary selection and less visual clutter. So here are two bookmarklets for doing quick lookups there; only tested on FireFox so far. Feel free to post any modifications you make here — share the love and all that 🙂

Source code, just in case:

javascript:(function(){var%20w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else%20if(d.getSelection){s=d.getSelection()}else%20if(w.getSelection){s=window.getSelection()}window.open("http://kotobank.jp/word/"+encodeURIComponent(s),"_blank");})()

javascript:(function(){var%20w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else%20if(d.getSelection){s=d.getSelection()}else%20if(w.getSelection){s=window.getSelection()}window.open("http://kotobank.jp/word/"+encodeURIComponent(s),"_blank");window.open("http://kotobank.jp/jeword/"+encodeURIComponent(s),"_blank");})()

EOF

 

  1 comment for “[kb] Kotobank Dictionary Bookmarklet

  1. ライトニング
    October 27, 2013 at 12:39

    In case anybody (myself) wanted to use Yahoo dictionary, I made a slight modification so it will go to Yahoo Dictionary (monolingual) instead

    javascript:(function(){var%20w=window,d=w.document,s=””;;if(d.selection){s=d.selection.createRange().text}else%20if(d.getSelection){s=d.getSelection()}else%20if(w.getSelection){s=window.getSelection()}window.open(“http://dic.yahoo.co.jp/detail?p=”+encodeURIComponent(s)+”&stype=0&dtype=0″,”_blank”);})()

Leave a Reply

Your email address will not be published. Required fields are marked *