[Greasemonkey] Turnabout: More Greasemonkey for IE

Jeremy Dunck jdunck at gmail.com
Wed Jun 1 00:07:28 EDT 2005


On 5/31/05, chris feldmann <cfeldmann at gmail.com> wrote:
> Oh, and I'm sorry to be insistant in a place where I'm a non-expert, but
> I've never understood why GM_registerCommand was really necessay. I'm surely
> missing something, but I haven't yet found a menu command that can't be
> implemented as a colorful "click me" div with an even listener. And this
> avoids cross-platform issues of menu item creation. And it event listeners
> don't leak ;-).
> 

The idea for that was that lots of scripts running on a single page
would start to stomp on each other for basic UI interactions.

Providing a single structured place for buttons and actions seemed
like a reasonable thing to do.  I still think this is a good idea. 
And I intend to also support context menu command reg, which I suppose
is also possible with event listeners and onclick div creation, but
again, it seems better supported within XUL.

And it didn't used to leak :-/


More information about the Greasemonkey mailing list