diff --git a/conkeror/.conkerorrc/init.org b/conkeror/.conkerorrc/init.org index 991f9ba..ab07b92 100644 --- a/conkeror/.conkerorrc/init.org +++ b/conkeror/.conkerorrc/init.org @@ -33,3 +33,28 @@ access. #+BEGIN_SRC js hint_digits = "arstdhneio"; #+END_SRC + +Add the ~search-engines/~ directory to the opensearch load path. + +#+BEGIN_SRC js + function add_to_opensearch_load_path(new_path) { + if (new_path.startsWith('/')) { + opensearch_load_paths.push(new_path); + } else { + let path = get_home_directory(); + path.append('.conkerorrc'); + path.append(new_path); + + opensearch_load_paths.push(path); + } + } + + add_to_opensearch_load_path('search-engines'); +#+END_SRC + +Add a Mozilla Developer Network webjump. This uses their OpenSearch +description. + +#+BEGIN_SRC js + define_opensearch_webjump("mdn", "mozilla-developer-network.xml"); +#+END_SRC diff --git a/conkeror/.conkerorrc/search-engines/mozilla-developer-network.xml b/conkeror/.conkerorrc/search-engines/mozilla-developer-network.xml new file mode 100644 index 0000000..9d06736 --- /dev/null +++ b/conkeror/.conkerorrc/search-engines/mozilla-developer-network.xml @@ -0,0 +1,19 @@ + +Mozilla Developer Network + +Search Mozilla Developer Network documentation +UTF-8 +https://developer.cdn.mozilla.net/static/img/favicon32.e02854fdcf73.png + + + + + + + +https://developer.mozilla.org/en-US/search + \ No newline at end of file