Why is my GreaseMonkey function unexpectedly being called multiple times?
- by Ryan Fisher
I am missing something, I'm not sure why the function 'addIcon()' is being called multiple times.
Given:
<div class="ticketpostcontainer">Some text</div>
<div class="ticketpostcontainer">Some text</div>
<div class="ticketpostcontainer">Some text</div>
Using the utility function waitForKeyElements, the result…