I\'m totally new to Greasemonkey, javascript, in fact all the UI stuff.
Requirement: Userscript is run by GS once after the page loads. However, I need the same scr
You can use the DOMNodeInserted event to call your callback, e.g.:
DOMNodeInserted
document.addEventListener('DOMNodeInserted', function() { alert('hi') }, false);
Note that the event will be triggered by any change in the page structure, so you'll have to check that you're targeting the right change.