Here’s a little Wiktionary bookmarklet love. This will be especially useful for all you Lazy Kanji people out there.
Source code:
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://en.wiktionary.org/wiki/"+encodeURIComponent(s),"_blank")})()
Source code:
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://ja.wiktionary.org/wiki/"+encodeURIComponent(s),"_blank")})()
EOF
This is a handy little bookmarklet. Thank you. I have copied the source code and bookmarked it but only after finding that the ‘Wiktionary Bookmarklet’ link you have above it links only to a truncated copy of the source. Just a heads-up in case anybody else has trouble with it.
Thanks again.