Android 16 on a not-too-old Samsung Galaxy though I doubt the device has much to do with it these days as long as it's fairly recent.
I had only done very brief testing before. I'll check a few more things now:
It seems very hit or miss now. Not super replicable like I thought it was earlier.
Method #1 is clicking the energy bar in TornPDA profile. This is my normal method and wasn't working much before but seems to be working every time I try now.
Method #2 is double clicking the energy bar inside Torn. This one I did get to fail a couple of times even if I wait 20 seconds. Switching to the forum tab and then back to the gym tab caused the script to show up (by this I mean the green numbers under each stat and the green bar at the bottom for settings).
Method #3 using the sidebar also failed a few times. Click on Torn home button, open sidebar, click Gym. Wait 10 seconds but script has not yet appeared. Try scrolling up and down just to see - still no script. Refreshing does nothing. Switch tabs and come back works. So does clicking on any gym and hitting cancel or activate.
I used to use the TornPDA built-in Custom Gym Ratios script by Kwack. It didn't used to have this problem. I was mostly just testing this out to see which interface I liked better. That script has been disabled throughout my testing here.
No, not only is it not a TornTools feature (which is a requirement for these userscripts as these are literally using the same code as TornTools), it won't be any time soon.
While it sounds easy, it isn't. Just having the revive button ignore the confirmation is possible, but along with it would be the revive chance. And since we would be ignoring the confirmation we don't have that revive change ourselves either so we couldn't only block above a certain chance.