Submitted by wh5a on Thu, 04/02/2009 - 22:10.
Google Chrome has been my browser of choice for a long time, because of its snappy speed, clean UI, and secure design. However, when it comes to UI, what can beat Emacs-like browser with a Mozilla kernel?
Enter conkeror, written completely in Javascript that extends xulrunner. It's customizable by writing new Javascript code (what a pity it's not Lisp!)
Emacs users can start navigating very quickly. What frees users from mice is the "hinting system". To start, press "f" for follow. For more information, refer to the tutorial (C-h t).
Below is my .conkerorrc:
// Tab bar
require("new-tabs.js");
// Middle click on a tab to close
tab_bar_button_close = 1;
// Open Middle-Clicked Links in New Buffers
require("clicks-in-new-buffer.js");
clicks_in_new_buffer_target = OPEN_NEW_BUFFER_BACKGROUND;
// Switch to Buffers 1-10 Using Number Keys 1 through 0
function define_key_buffer_switch(key, buf_num) {
// define_key(content_buffer_normal_keymap, key, function (I) {
define_key(default_global_keymap, key, function (I) {
switch_to_buffer(I.window, I.window.buffers.get_buffer(buf_num));
});
define_key(download_buffer_keymap, key, function (I) {
switch_to_buffer(I.window, I.window.buffers.get_buffer(buf_num));
});
}
for (let i = 0; i < 10; ++i) {
define_key_buffer_switch(i == 9 ? "0" : (i+1).toString(), i);
}
// Key bindings for compatibility with other browsers
define_key(default_global_keymap, "C-w", "kill-current-buffer");
// Some keybindings must be rebound in a proper keymap to take effect
define_key(content_buffer_normal_keymap, "back_space", "go-back");
// The binding to find-url didn't prefill with current URL
define_key(content_buffer_normal_keymap, "g", "find-alternate-url");
/* I'd like to enable caret mode by default, but I always get a javascript error.
session_pref("accessibility.browsewithcaret", true);
So I'm trying a workaround by pushing caret-mode to any URL /
var my_re = new RegExp("."); // There's a star not showing up in my blog?!
auto_mode_list.push([my_re, caret_mode]);
define_key(content_buffer_normal_keymap, "f7", "caret-mode");
Tips:
M-x reinit reloads the rc file
conkeror -daemon & keep a daemon running (Be careful that C-x C-c will kill the daemon)
Complaints:
No friendly way for changing page encoding
Recent comments
1 week 2 days ago
2 weeks 3 days ago
3 weeks 7 hours ago
5 weeks 10 hours ago
13 weeks 2 days ago
17 weeks 4 days ago
18 weeks 3 days ago
20 weeks 6 days ago
1 year 4 weeks ago
1 year 4 weeks ago