❦ 13 août 2012 23:16 CEST, "John J. Foerch" <jjfoe...@earthlink.net> :
> Or here is another snippet of code that can be used on a per-site > basis.. modify it for the event(s) you want to intercept and the sites you > want it to work on: > > define_page_mode("keyup-kill-mode", > [], > function enable (buffer) { > buffer.browser.addEventListener("keyup", event_kill, true); > }, > function disable (buffer) { > buffer.browser.removeEventListener("keyup", event_kill, true); > }, > $display_name = "Keyup-kill"); > page_mode_activate(keyup_kill_mode); > keyup_kill_mode.test.push(build_url_regexp($domain = "www.smbc-comics")); I have tried the above snippet and added the `keydown` event and it works fine. I will try the other more global solution if more sites behave this way. Thanks! -- printk("autofs: Out of inode numbers -- what the heck did you do??\n"); 2.0.38 /usr/src/linux/fs/autofs/root.c _______________________________________________ Conkeror mailing list Conkeror@mozdev.org https://www.mozdev.org/mailman/listinfo/conkeror