When I was using the Internet Explorer Everything Search Button
, I thought, "hey, would'nt it be cool
if I could just right click
on the highlited text and click "Search Everything
" instead of having to go all the way up to that "Search Everything" button... so I made it.
You can download a self-extracting windows installer (250k) at http://www.myfreeoffice.com/geekbox/everything.exe
if you don't want to mess with the code below.
Or, just a zip file (83k) that has the files and instructions at http://www.myfreeoffice.com/geekbox/everything.zip
that contains the files you need.
Here's the hack:
1) Open notepad. Paste the following 3 lines into it:
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Search With Everything]
You can change the name/location of the .htm file to whatever you want. Its contents are posted below. Now, save that to a .reg file and double click to import it into the regestry
(Click yes to the warning). Alternatively you can manually enter the keys.
2)Paste this into a new notepad
var oDocument = window.external.menuArguments.document;
Alternatively, you can replace the second last line with the following, which will have the results show up in a new window
:new_win = open('http://www.everything2.com/?node='oDocument.selection.createRange().text);
Save that to wherever you specified the above html document was. In this example it's C:\everything.htm
3)Restart Internet Explorer
, highlight some text, right click, and AWAY YOU GO!