i used the code from google
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.
pm!
hope you find this useful.
let me know what you think!
Update by vroom:
I think this will work for those of you forced into using IE although I haven't tested it
<A HREF="javascript:q=(document.frames.length?-1:document.selection.cr
+eateRange().text);if(q<=0){void(q=prompt('Enter
text to search E2.'+(q?'':'Search PerlMonks: enter terms or highligh
+t something
E2'),''))};if(q)location.href='http://perlmonks.org/?node='+escape(q
+)">pm!</A>
--
michael d. ivey,
ivey@gweezlebur.com
Edited by planetscape - added code tags ( keep:0 edit:19 reap:0 )
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|