monkdiscuss
ivey
<p>
i used the code from <a href="http://www.google.com">google</a>
as a base for making a perlmonks bookmarklet. right click
the link below, and add it to your bookmarks. if you put it in netscape's toolbar folder, you have quick access
to PM nodes. if you highlight something and then click it,
it will look for a node named whatever you had highlighted. otherwise
it pops up a search box.
<p>
<blockquote>
<a href="javascript:q=document.getSelection();if(!q){void(q=prompt('Search PM: enter terms or highlight something.',''))};if(q)location.href='http://www.perlmonks.org/index.pl?node='+escape(q)">
pm!</a>
</blockquote>
<p>
hope you find this useful.
let me know what you think!
<p>
<B>Update by [vroom]:</B>
<P>I think this will work for those of you forced into using IE although I haven't tested it</P>
<code>
<A HREF="javascript:q=(document.frames.length?-1:document.selection.createRange().text);if(q<=0){void(q=prompt('Enter
text to search E2.'+(q?'':'Search PerlMonks: enter terms or highlight something
E2'),''))};if(q)location.href='http://perlmonks.org/?node='+escape(q)">pm!</A>
</code>
<tt>
-- <br>
<a href="http://gweezlebur.com/~ivey/">michael d. ivey</a>,
<a href="mailto:ivey@gweezlebur.com">ivey@gweezlebur.com</a>
</tt>
<p><small>Edited by [planetscape] - added [id://17558|code] tags <readmore title="view votes">( keep:0 edit:19 reap:0 )</readmore></small></p>