Webjumps are created by the define_webjump function. Define_webjump has two required arguments, and a number of optional keyword arguments.
name - String that you type into the find-url prompt in order to follow this webjump.
handler - A string or a function.
string - For most webjumps, a string spec is sufficient. Give the url as a string, with the format code %s in the place where the webjump argument (typically a search term) can be subtituted in. When your webjump is called with no argument, an alternative webjump will be auto-generated by trimming the path off of the url. For example:
If you called the above webjump with no search term, Conkeror will go to http://www.example.com/. The alternative may instead be given explicitly using the $alternative keyword to define_webjump.
function - The spec may also be a function that takes the webjump argument as its parameter and returns the url to go to. A function of no arguments may also be given, in which case the webjump does not take an argument. If the handler is a function of one argument, the presence of $alternative determines whether the argument is required. If $alternative is given, the argument is optional; if not, the argument is required.
$doc - A documentation string.
$alternative - String URL to go to when no webjump argument was given.
$completer - A completer for the webjump argument.
$require_match - Whether an exact match is required when using a completer.
$post_data - Described below.