On 2011-03-13 6:16 PM, Erik Vold wrote:
I'd suggest using
broadcasters<https://developer.mozilla.org/en/XUL/broadcaster>instead
of of listening to DOMNodeInserted for the toolbar button. Take a
look at how I do that for Scriptish if you'd like.

Thanks, that's a good suggestion.
https://github.com/greasemonkey/greasemonkey/commit/d01e88d3067e525be04fcab478b86da15d375874

Still listening for node insertion to duplicate the menupopup from the Tools menu, but it simplifies keeping the state of all the interface bits in sync.

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to