Google Scholar ブックマークレット

「ブラウザ上での選択文字列」or「クリップボードの文字列」をGoogle Scholarで検索するブックマークレット(ダブルクォーテーションで囲って検索)。
Googleツールバーとかで、もっとちゃんとしたものが提供されているかも。
Firefoxではクリップボードの文字列を取得することが出来ないようなので、クリップボード版はIEのみ。

IE

・選択文字列をGoogle Scholarで検索
javascript:void(window.open('http://www.google.com/scholar?hl=ja&safe=off&lr=&q='+encodeURIComponent('\"')+encodeURIComponent(document.selection.createRange().text)+encodeURIComponent('\"')))
・クリップボードの文字列をGoogle Scholarで検索
javascript:void(window.open('http://www.google.com/scholar?hl=ja&safe=off&lr=&q='+encodeURIComponent('\"')+encodeURIComponent(clipboardData.getData("Text"))+encodeURIComponent('\"')))

Firefox

・選択文字列をGoogle Scholarで検索
javascript:void(window.open('http://www.google.com/scholar?hl=ja&safe=off&lr=&q='+encodeURIComponent('\"')+encodeURIComponent(window.getSelection().getRangeAt(0))+encodeURIComponent('\"')))

javascriptは殆ど使ったことがないのでおかしなコードになっているかもしれませんが、一応普通に使えます。