[dev] [surf] SearchEngines patch

From: Nils <mail_AT_n-sch.de>
Date: Wed, 23 Sep 2009 01:30:31 +0200

Hi,

I wrote a little patch for surf which allows you to define custom search
engines, so you can google for "foo bar" simply by loading the url "g
foo bar" (or any other search engine you prefer).

Put this in your config.h:

> static SearchEngine searchengines[] = {
> { "g", "http://www.google.de/search?q=%s" },
> { "leo", "http://dict.leo.org/ende?search=%s" },
> };

The first argument is the prefix for your url, the second one is the url
to call where %s gets replaced by your request.

Hope this works for everyone, if you find any bugs please feel free to
report them to me. :)

Keep on surfing,

Nils / McManiaC

Received on Tue Sep 22 2009 - 23:30:31 UTC

This archive was generated by hypermail 2.2.0 : Tue Sep 22 2009 - 23:36:02 UTC