[Greasemonkey] Event Listener - Context Menu Cut/Paste

Matt Sargent matt.sargent at earthlink.net
Mon Feb 13 16:21:18 EST 2006


I've got a script that adds a display showing the number of remaining 
characters that can be input into a text box (the website will kick it back if it's 
over a certain number of characters).

I'm updating this value in a function that's invoked by adding Event Listeners 
to the text box. This work fine, except when the text is changed via the 
context menu edit functions (cut/paste/delete). Using the context menu to alter 
the text doesn't seem to trigger any event listeners. Any ideas on how to 
determine when the context menu is used to change text?


More information about the Greasemonkey mailing list