[Greasemonkey] [Help]How to replace an js method or event?

weide wideweide at gmail.com
Thu Oct 6 02:56:57 EDT 2005


on 2005-10-6 1:34,Tony Chang said the following:
>
> I believe for addEventListener, you don't want to include "on" in your
> event name.  E.g.,
>   window.addEventListener('keydown', NextPageForFireFox, true);
> should work (and save you from using unsafeWindow).
>
> Tony
>   
Thanks Tony and darktempler at gmail.com

"window.addEventListener('keydown', NextPageForFireFox, true/false?);" work well greasemonkey 0.5.3 on firefox1.07
not well 0.6.2 on ff1.5b1




More information about the Greasemonkey mailing list