[TAG] Tip: Bookmarklets in Mozilla
Ben Okopnik
ben at callahans.org
Mon Apr 26 18:12:21 MSD 2004
On Mon, Apr 26, 2004 at 03:33:43AM +0100, Jimmy O'Regan wrote:
> 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".
Ah - very nice! Thank you, that's going to come in handy.
> 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
Whups - that looks like HTML-escaped ASCII, not Unicode.
(Is this my month to pick on Jimmy, or what? :)
* Ben Okopnik * okopnik.freeshell.org * Technical Editor, Linux Gazette *
-*- See the Linux Gazette in its new home: <http://linuxgazette.net/> -*-
More information about the TAG
mailing list