~ _why
/.conkerorrc
Conkeror is such a fantastic browser! I'm completely hooked. This config adds 'g' for google and 'd' for del.icio.us tags. This script is for conkeror-xr. I'm running 0.42.40.20080227 at the moment, so who knows if these specific commands will stick around.
// web shortcuts
add_webjump("d", "http://del.icio.us/tag/%s");
add_webjump("code", "https://code.whytheluckystiff.net/%s");
// del.icio.us
add_delicious_webjumps ("why");
// reload conkerorrc
interactive("reload-rc",
"Reload the Conkerorrc.",
function(I) { load_rc_file("/home/why/.conkerorrc"); });
// toggle proxy
interactive("proxy-toggle",
"Toggle the proxy on and off.",
function(I) {
var proxytype = get_pref("network.proxy.type");
user_pref("network.proxy.type", proxytype == 1 ? 0 : 1);
I.minibuffer.message("proxy turned " + (proxytype == 1 ? "off" : "on"));
});
interactive("proxy-host",
"Change the HTTP proxy host.",
function (I) {
var hostnym;
user_pref("network.proxy.http", hostnym = (yield I.minibuffer.read($prompt = "Host:")));
I.minibuffer.message("host set to " + hostnym);
});