Thanks to their new, no-frills formatting [you can copy and paste definitions without having to delete stray linebreaks], Goo have regained their status as my favorite J-J dictionary. In honor of this great event, I present to you a little bookmarklet to speed up your dictionary lookups:
Source code, just in case:
javascript:(function(){var w=window,d=w.document,s="";;if(d.selection){s=d.selection.createRange().text}else if(d.getSelection){s=d.getSelection()}else if(w.getSelection){s=window.getSelection()}window.open("http://dictionary.goo.ne.jp/srch/all/"+encodeURIComponent(s)+"/m0u/","_blank")})()
javascript:var%20d=document;var%20tx=encodeURIComponent(d.selection?d.selection.createRange().text:d.getSelection());var%20subw=window.open('http://dictionary.goo.ne.jp/srch/all/'+tx+'/m0u/','_blank').document;
EOF
Woah, super cool! Would it be possible for you to make a C-C one?
Thank you <3
I can’t drag it to my toolbar? although it worked fine with the surusu-bookmarklet. Am I missing something?