gomita / firegestures

FireGestures, a Firefox extension.
http://www.xuldev.org/firegestures/
Other
128 stars 30 forks source link

key event return don't work in a facebook chatbox #93

Open Gurzo opened 9 years ago

Gurzo commented 9 years ago

I set a gesture to send the return key to quickly send messages that I copied and pasted. FireGestures.sendKeyEvent({ keyCode: "DOM_VK_RETURN" }); the event works well in most of the search form, type google etc, but if I do it in the chatbox of facebook, I get a carriage return (like you get with ALT + RETURN). i don't want use RETURN, but the specification of the key codes that read: DOM_VK_ENTER has been never used for representing native key events. Therefore, it's removed for preventing developers being confused. why?