[TAG] Mozilla search plugin for LG
Jimmy O'Regan
jimregan at o2.ie
Thu Nov 24 00:21:58 MSK 2005
Thomas Adam wrote:
> 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
So much work, for such a small browser :)
Mozilla &c. can do the same thing: bookmark the above URL, and add 'lg'
as the keyword. Searching is similar, but without the colon.
The point of the file I posted is that it adds the search to the little
search bar at the top of Firefox.
More information about the TAG
mailing list