welcome: please sign in

Please enter your password of your account at the remote wiki below.
/!\ You should trust both wikis because the password could be read by the particular administrators.

Clear message
location: WritingWebjumps

define_webjump

Webjumps are created by the define_webjump function. The general form is as follows:

define_webjump(name, spec);

Post Webjumps

Webjumps that emulate filling in an html form can also be defined by providing the parameters in a $post_data array. For example, a language translation webjump could be defined as follows:

define_webjump("e2j", "http://www.freedict.com/onldict/onldict.php",
  $post_data = [['search', '%s'], ['exact', 'true'], ['selected', '10'],
                ['from', 'English'], ['to', 'Japanese'],
                ['fname', 'eng2jap1'], ['back', 'jap.html']],
               $alternative = "http://www.freedict.com/onldict/jap.html");

Index Webjumps

Webjumps that construct an index from links in a web page and then provide access to those links with completion can be defined using index webjumps.

OpenSearch Webjumps

See OpenSearch. For versions of Conkeror older than November 2010, see SearchEngine.

Managing Webjumps

All webjumps are in Conkeror's memory in a simple object called webjumps. This object can be manipulated for such things as deleting webjumps or creating aliases.

Deleting Webjumps

delete webjumps.google;

Making a Webjump Alias

webjumps.g = webjumps.google;