[TAG] Mozilla search plugin for LG
Thomas Adam
thomas at edulinux.homeunix.org
Wed Nov 23 22:12:53 MSK 2005
On Mon, Nov 21, 2005 at 08:10:40PM +0000, Jimmy O'Regan wrote:
> Install with:
> javascript:window.sidebar.addSearchEngine("http://m-net.arbornet.org/~
> jimregan/lg.src", "http://m-net.arbornet.org/~jimregan/lg.png", 'Linux
> Gazette', 'Webzine');
>
> (Be warned that it may not work, and may even royally screw up your
> browser)
So much work, for such a large browser. :) For those of us that use
Elinks as their browser, then here's something similar, using "Smart
Prefixes". Essentially:
``
Options Manager -> Protocols -> URI rewriting -> Smart Prefixes
''
... from there, one can "Add" a new prefix -- I called mine 'lg'. When
that's done, scroll down to it, and "Edit" it, adding the following to
it:
```
http://www.google.com/search?q=%s&btnG=Google+Search&domains=linuxgazette.net&sitesearch=linuxgazette.net
'''
... the "%s" variable above expands to whatever search term was entered
in. Then click on "Save", and voila. Now one can search LG, by either
pressing 'g' or 't', and typing:
``
lg: my search term
''
More information can be found on my own Elinks site here:
http://edulinux.homeunix.org/elinks
-- Thomas Adam
--
I'm brutal, honest, and afraid of you.
More information about the TAG
mailing list