welcome: please sign in
location: Diff for "KeyKill"
Differences between revisions 1 and 2
Revision 1 as of 2013-03-24 13:53:39
Size: 363
Editor: retroj
Comment: initial edit
Revision 2 as of 2013-06-15 10:49:11
Size: 677
Editor: PhilHudson
Comment: Added comment requesting author expand on reasons for examples.
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

{{{#!wiki comment/dashed
Please expand on the reasons these particular examples are useful/necessary. I'm having no-response-to-button-click problems with GitHub; it's not immediately obvious to me whether `key-kill` is relevant to this (seems unlikely).
-- PhilHudson <<DateTime(2013-06-15T10:49:11Z)>>
}}}

Key-kill-mode

Key-kill-mode is a generic page-mode for blocking keyup and keydown events. To use it, load the module, and then add tests so that it will be enabled on your problem sites. For example:

require("key-kill");
key_kill_mode.test.push(build_url_regexp($domain = "github"));
key_kill_mode.test.push(/\/\/.*slashdot\.org\//);

Conkeror.org: KeyKill (last edited 2013-06-15 10:49:11 by PhilHudson)