Can anyone please help me with clicking this button using greasemonkey? http://mibpaste.com/te6fRR (Full Source)
var evt = document.createEvent ("HTMLEvents");
evt.initEvent ("click", true, true);
document.getElementById('fight_btn').dispatchEvent (evt);