58644ad21579192091ca4d84d6cabbad706ec767
[conkeror.git] / .conkerorrc / webjumps.js
1 // "clever" bookmarks. smartlinks. name however. use as "token bla" and it goes to bla on that token
2 define_webjump("orgmode-worg","https://www.google.com/cse?cx=002987994228320350715%3Az4glpcrritm&q=%s&sa=Search&siteurl=orgmode.org%2Fworg",$alternative="http://orgmode.org/worg/");// Org-Mode Worg (~Wiki)
3
4 // To use The Free Dictionary.com rather than Dictionary.com (the latter is rather cookie-happy):
5 define_webjump("dictionary","http://www.thefreedictionary.com/%s");
6
7 define_webjump("p", "http://packages.debian.org/search?keywords=%s&searchon=names&suite=unstable&section=all");
8 define_webjump("debfile", "http://packages.debian.org/search?searchon=contents&keywords=%s&mode=path&suite=unstable&arch=any");
9 define_webjump("debbugs", "http://bugs.debian.org/%s");
10 define_webjump("b", "http://bugs.debian.org/%s");
11 define_webjump("pts", "http://packages.qa.debian.org/%s");
12 define_webjump("buildd", "https://buildd.debian.org/%s");
13 define_webjump("buildd-ports", "http://buildd.debian-ports.org/build.php?pkg=%s");
14 define_webjump("qa", "http://qa.debian.org/developer.php?login=%s");
15 define_webjump("debscreen", "http://screenshots.debian.net/package/%s");
16 define_webjump("debsnap", "http://snapshot.debian.org/package/%s/");
17 define_webjump("debsec", "http://security-tracker.debian.org/tracker/?query=%s");
18
19 define_webjump("github", "http://github.com/search?q=%s&type=Everything");
20 define_webjump("gitorious", "http://gitorious.org/search?q=%s");
21
22 define_webjump("emacs",
23 "http://www.google.com/cse?cx=004774160799092323420%3A6-ff2s0o6yi"+
24 "&q=%s&sa=Search&siteurl=emacswiki.org%2F",
25 $alternative="http://www.emacswiki.org/");
26 define_webjump("orgmode","https://www.google.com/cse?cx=002987994228320350715%3Az4glpcrritm&q=%s&sa=Search&siteurl=orgmode.org%2Fworg",$alternative="http://orgmode.org/worg/");// Org-Mode Worg (~Wiki)
27
28 define_webjump("dns", "http://www.intodns.com/%s");
29
30 // plain bookmarks
31 define_webjump("efu", "http://emacs-fu.blogspot.com");
32 define_webjump("ew", "http://emacswiki.org");
33
34 //browser_prevent_automatic_form_focus_mode(true);
35 google_search_bind_number_shortcuts();
36
37 // Webjump oneliners
38 define_webjump("codesearch", "http://www.google.com/codesearch?q=%s");
39 define_webjump("cpan", "http://search.cpan.org/search?query=%s&mode=all");
40 define_webjump("leo", "http://dict.leo.org/?lp=ende&lang=de&searchLoc=0&cmpType=relaxed&relink=on&sectHdr=off&spellToler=std&search=%s");
41 define_webjump("trans", "http://translate.google.com/translate_t#auto|en|%s");
42 define_webjump("urban", "http://www.urbandictionary.com/define.php?term=%s");
43 define_webjump("youtube", "http://www.youtube.com/results?search_query=%s&search=Search");
44
45 // CVE
46 define_webjump("cve", "https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s");
47
48 wikipedia_enable_didyoumean = true;
49 define_wikipedia_webjumps("en", "de");
50
51 define_webjump("wayback",
52 function (url) {
53 if (url) {
54 return "http://web.archive.org/web/*/" + url;
55 } else {
56 return "javascript:window.location.href='http://web.archive.org/web/*/'+window.location.href;";
57 }
58 },
59 $argument = "optional",
60 $completer = history_completer($use_history = false, $use_bookmarks = true));
61
62 define_webjump("ris", "http://bahn.de/ris");