Switch search to google scholar bookmarklet

Alec Jacobson

March 25, 2013

weblog/

I upgraded to Safari 6 and was happy to see the search bar gone and keyword search directly in the address bar. However I was annoyed to see that when searching you don't see the full google url but just the query keywords. This nullified my previous hack to switch a google search to a google scholar search. Instead here's a little bookmarklet to switch a google search to a google scholar search:
javascript:(function(){window.location.href=window.location.href.replace("search?", "scholar?");})()
Just paste that into you address bar and create a bookmark for it. Then any time you do a normal google search, you can switch it to a google scholar search by hitting the bookmark. source