If you like the idea of the Unix-Netscape Everything Search Button but are OS or browser challanged, here is the javascript that will work for Internet Explorer on Windows:

javascript:q=(document.frames.length?-1:document.selection.createRange().text);if(q<=0){void(q=prompt('Enter text to search E2.'+(q?'':'Gimme some text to search E2'),''))};if(q)location.href='http://everything2.com/?node='+escape(q)

You'll need to create a favorite and replace the location with the code above for it to work.

Please use this:
javascript:q=(document.frames.length?-1:document.selection.createRange().text);if(q<=0){void(q=prompt('Enter text to search E2.'+(q?'':'Gimme some text to search E2'),''))};if(q)location.href='http://everything2.com/?lastnode_id=94806&node='+escape(q)

It links whatever you search to The Node Linked to All Others! Join the cause!

And how about in the context menu?

Add to the registry something like this: the key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Everything Search Its default should be "c:\windows\e2search.htm" or something. Also, put there a binary value, with data 0x10.

Now, put a file at wherever you pointed that thing, with this in:

<script LANGUAGE="JavaScript">
var EverythingURL = "http://www.everything2.com/index.pl?";

 var Win = external.menuArguments;
 var activePage = sourceWin.document;
 var locus = sourceWin.location;
 var activeSelection = activePage.selection;
 var rngActive = activeSelection.createRange();
 var selectedText = new String(rngActive.text);
  EverythingURL = EverythingURL + "node="  + selectedText;
  if (Win.location.hostname=="www.everything2.com") {
   var foo=activePage.links(0).search.match(/&lastnode_id=\d*/);
   EverythingURL=EverythingURL+foo;
  } 
  Win.location=EverythingURL;
</script>

It even soft links.
Should do the trick.

This file should be hosted somewhere, then you'd just need to write the URL in the registry and you'd be all set.

Log in or register to write something here or to contact authors.