This thread was archived. Please ask a new question if you need help.
How can we disable keyboard shortcuts on webpages?
I am using the add-on firemacs, which allows us to edit text with emacs key-bindings.
The problem is: some key-bindings (set by firemacs) are overwritten at several webpages (e.g. Evernote and StackExchange).
For example, Ctrl-b moves normally the text cursor to the previous character in a textarea. But in the textarea at any site of StackExchange, Ctrl-b creates `**strong text**`.
Is it possible to disable keyboard shortcuts without disabling shortcuts for firemacs?
All Replies (2)
StackExchange links to a bunch of other sites, so I looked at the superuser.com site. The specific script that creates the interactive features of the editor is http://cdn.sstatic.net/Js/wmd.en.js. It's minified so I can't figure out the call needed to remove the keypress event listener. (Actually, I'm not sure I could figure it out even with the full source, as I don't use jQuery.) Maybe it's a question for StackOverflow?
Modified by cor-el