On Sat, Mar 26, 2011 at 09:07, Anthony Lieuallen <[email protected]> wrote:

> 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.


https://developer.mozilla.org/en/XUL/Toolbars/Toolbar_customization_events

-- 
Erik Vergobbi Vold

Email: [email protected]
Website: http://erikvold.com/
Twitter: http://twitter.com/erikvold
Identi.ca: http://identi.ca/erikvold
LinkedIn: http://www.linkedin.com/in/erikvold

-- 
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