[TAG] Tip: Bookmarklets in Mozilla
Jimmy O'Regan
jimregan at o2.ie
Mon Apr 26 06:33:43 MSD 2004
Ben Okopnik wrote:
>On Sun, Apr 25, 2004 at 08:36:24PM +0100, Jimmy O'Regan wrote:
>
>
>>One of the nicest features in Mozilla is the ability to add a keyword to
>>a bookmark; this lets you cut down on typing - lg instead of
>>http://www.linuxgazete.net for example. To set one, select the bookmark
>>in the "Bookmark Manager"; in the properties dialogue simply set the
>>"Keyword".
>>Better still is the ability to add '%s' to the URL in the bookmark;
>>which puts properly escaped text in the place of the '%s'.
>>
>>
>
>Sorry... maybe I'm being dense, but how do you insert that "properly
>escaped text" into a mouse click? :\ It's obviosly not highlighted text
>on a page (like the nifty "Search engine" lookup in Favelets), but I
>can't figure out what it is.
>
>
OK, I should have given better instructions.
In the Bookmark Manager select File->New->Bookmark
Fill in the "File Bookmark" dialogue, for example:
Name: Merriam-Webster dictionary search
Location:
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=%s&x=0&y=0
Keyword: mw
and click "OK".
In the "Location" bar, enter, for example:
mw Land's End
takes you to
http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=Land's%20End&x=0&y=0
any non-ASCII characters are automatically converted into Unicode; for
example
???????? (Kappa Epsilon Phi Alpha Lambda Eta Xi Theta) becomes
%CE%9A%CE%95%CE%A6%CE%91%CE%9B%CE%97%CE%9E%CE%98
More information about the TAG
mailing list