I use this one: (you need an account to see links) by @(you need an account to see links)
Install Tampermonkey, create a new script then copy and paste the code in.
You can view more instructions on how to change the number of fights, what abilities to use and what equipment to use in that thread