I’ve put up one of these before, but this time I edited it so that by default it only searches Japanese pages. This should be the extra little environmental nudge you need to get more Japanese into your web life.
グ | Google Japan Search Bookmarklet
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://www.google.co.jp/search?q="+encodeURIComponent(s) +"&hl=ja&prmd=ivns&source=lnt&tbs=lr:lang_1ja&lr=lang_ja","_blank")})()
ありがとう。。
And where does one copy paste that code for it to do the job it was made for?
Here’s how this works in Google Chrome:
Click and drag the link onto the bookmarks bar.(Only the link is dragged. Do not select it first.)
Select text (probably Japanese) on a web page.
Click on the new bookmark.
You get a search results page based on that term.
The code takes the selected text, turns it into a search query, and sends you to Google for the results, filtered so that it’s only in Japanese.
I’m guessing something similar works in other browsers… I hope that works out for you.