- Aaron
Erik Arvidsson wrote:
Erik Arvidsson wrote:
In theory it should work with using mutation events to do this (DOMNodeInsertedIntoDocument). In reality mutation events are not fully working in Gecko.
You can use DOMNodeInserted instead. It is a lot slower but will get the work done. You should most likely only add this listener if you know that there is any keychain info available to the page.
document.addEventListener( "DOMNodeInserted", function ( e ) { if ( e.target.nodeType == Node.ELEMENT && e.target.localName == "FORM" && e.target.namespaceURI == XHTML_NS ) { alert( e.target ); } }, false );
erik
_______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
