[Greasemonkey] addEventListener,
DOMNodeInserted event in GM user script
Brian Donovan
bdonovan at gmail.com
Mon Mar 6 21:24:48 EST 2006
Given:
document.addEventListener('DOMNodeInserted',function(){alert('DOMNodeInserted
!');},true);
window.addEventListener('load',function(){alert('load !');},true);
Why is it that both of the following alerts will pop up in Firefox
when the following lines are placed within a script tag within a page
but only the latter (for the window.onload event) will pop when those
lines are present in a GM user script?
Thanks,
Briandon
More information about the Greasemonkey
mailing list