.conkerorrc/init.js

This commit is contained in:
Tom Willemsen 2012-11-19 23:22:13 +01:00
parent 4d81596791
commit cfcb9d6b3c

View file

@ -17,6 +17,11 @@ define_browser_object_class(
} }
); );
function ext_title_format(window) {
return '(' + get_current_profile() +') '
+ window.buffers.current.description;
}
function oni_before_quit_func() { function oni_before_quit_func() {
var w = get_recent_conkeror_window(); var w = get_recent_conkeror_window();
var result = (w == null) || var result = (w == null) ||
@ -154,6 +159,7 @@ content_policy_bytype_table.object = oni_block_flash;
cwd = make_file("/home/slash/downloads/"); cwd = make_file("/home/slash/downloads/");
hint_digits = "arstdhneio"; hint_digits = "arstdhneio";
read_buffer_show_icons = true; read_buffer_show_icons = true;
title_format_fn = ext_title_format;
url_remoting_fn = load_url_in_new_buffer; url_remoting_fn = load_url_in_new_buffer;
define_key(content_buffer_normal_keymap, "h", define_key(content_buffer_normal_keymap, "h",