Hello,
I want to trigger events from a firefox extension, specifically click events. I've tried jQuery's .click() as well as the whole:
var evt = document.createEvent("HTMLEvents");
evt.initEvent("click", true, false );
toClick[0].dispatchEvent(evt);
This is not working for me, and I was wondering if this is even possible? (to trigger events from a firefox extension)?
If so, how does one do it?