Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Perl Monks bookmarklet

by ivey (Beadle)
on Jun 09, 2000 at 01:03 UTC ( #17215=monkdiscuss: print w/replies, xml ) Need Help??

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.


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? +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=''+escape(q +)">pm!</A>
michael d. ivey,

Edited by planetscape - added code tags

( keep:0 edit:19 reap:0 )

Replies are listed 'Best First'.
RE: Perl Monks bookmarklet
by Cirollo (Friar) on Aug 25, 2000 at 18:25 UTC
RE: Perl Monks bookmarklet
by Shendal (Hermit) on Jun 09, 2000 at 01:45 UTC
    I click it and it just pops up a nice debug box saying that the object doesn't support that property or method.
      Hmm, very strange. It works ok in Netscape, but not in Internet Explorer. On my machine, it doesn't do anything in IE.

RE: Perl Monks bookmarklet
by ZZamboni (Curate) on Jun 09, 2000 at 18:54 UTC
    Very nice, ivey. Works well in Netscape 4.7 under Solaris.


RE: Perl Monks bookmarklet
by mhorvat42 (Acolyte) on Jun 09, 2000 at 21:25 UTC
    cool -- keep up the good work do or do not -- there is no try

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://17215]
Approved by root
[ambrus]: Corion: some of these stupid syntax highlighters assume that too. just look at the table in http://perldoc. functions/pack. html for example.
[haukex]: ..."yet" ;-) I haven't had to deal with Dist::Zilla yet but I've heard about how it's a big setup
[ambrus]: I really don't like automagic stuff. I'm happy when computers do exactly what I tell them, even if that means they sometimes do the wrong thing.
[ambrus]: And I don't much like syntax highlighters. If you need a syntax highlighter to understand your code, then your code is written unclear.
[ambrus]: And if you need a syntax highlighter to color parenthesis green and numbers black and letters blue, then you're using the wrong font.
[ambrus]: I have to tolerate syntax highlighters when other people use them, but I don't use them myself. And sorry for the rant.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2017-02-27 12:45 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.