http://www.perlmonks.org?node_id=247597


in reply to Re: Laziness, Lizards and Monks
in thread Laziness, Lizards and Monks

?node=106 works the same as ?node_id=106 anyway. Sorry, I misread the code. Nice one.

Makeshifts last the longest.

  • Comment on Re^2: Laziness, Lizards and Monks (bookmarklet-ized versions)

Replies are listed 'Best First'.
Re: Re^2: Laziness, Lizards and Monks
by hossman (Prior) on Apr 02, 2003 at 20:57 UTC

    um ... that wasn't really my point.

    What I was saying is that you can use javascript in the bookmark to see if the "keyword" was given any input or not. In the version I posted, if you type "pm" you get the PerlMonks front page. If you type "pm nodeId" it goes to a particular node.

    For PerlMonks this doesn't matter all that much, but for other things (like perldoc or cpan) it's nice to have a good "default" other then whatever the default search is. It also means that if you select that bookmark from the bookmark menu (or click that link when looking at your bookmarks page) you don't wind up trying to go to nodeId "%s"