In case it is of any use, I wrote a bookmarklet which you can put in your browser's favorites bar (bookmarks bar). A bookmarklet is similar to a regular bookmark, but does some funky extra things.
The bookmarklet I wrote allows you to select (highlight) any word or phrase on the webpage you are reading, and then when you click on this bookmarklet in your favorites bar, it will instantly perform a PubMed search (via Google) on that word or phrase.
The PubMed search bookmarklet is this:
Code:
javascript:(function(){if(document.activeElement.tagName!=="IFRAME"){query=document.activeElement.ownerDocument.getSelection();}else{query=document.getElementsByTagName("iframe")[0].contentWindow.document.getSelection();};query=query.toString().trim().replace(/\s/g,"+");window.open("https://www.google.com/search?q=site:www.ncbi.nlm.nih.gov+"+encodeURI(query));/**/})()
To install this bookmarklet, with your mouse, just select (highlight) all the text in the above blue box (make sure you select all of it), drag this text selection up to your browser's favorites bar, and then drop the text selection there. That will create a new bookmarklet in your favorites bar.
Then you can search PubMed in the way described above (ie, highlighting your search words, and then clicking the bookmarklet).
Also wrote a similar bookmarklet that searches the PR forum on your selected (highlighted) word or phrase:
Code:
javascript:(function(){if(document.activeElement.tagName!=="IFRAME"){query=document.activeElement.ownerDocument.getSelection();}else{query=document.getElementsByTagName("iframe")[0].contentWindow.document.getSelection();};query=query.toString().trim().replace(/\s/g,"+");if(query!=""){window.open("http://forums.phoenixrising.me/index.php?search/1&q="+encodeURI(query));}else{window.open("http://forums.phoenixrising.me/index.php?search");};/**/})()