K-Meleon
KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Google pdf search
Submitted by:
search_google_pdf{ menu=Search for &Pdf open("javascript:var current=location.href;s=document.getSelection();for(i=0;i<frames.length;i++){s=frames[i].document.getSelection();if(s)break;}if(s)void(s=prompt(\'Search in Google for pdf files for:\',\'\'));if(s){open(\'http://www.google.com/search?q=\'+escape(s)+\' filetype%3Apdf\'+\'&btnG=Google+Search\',\'Search\',\'width=700,height=400,scrollbars=yes,resizable=yes\');history.go(0);}"); }
macros(search_google_pdf)