Uncheck checkboxes conditionnal

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 1
Joined: Sat Apr 28, 2018 3:58 pm

Uncheck checkboxes conditionnal

Post by xXTimXx » Sat Apr 28, 2018 4:10 pm

Hi guys,

i'm web developper but pretty newbie on imacros.
I'm playing a browser game (Travian), and i wanna improve a script i wrote for.
Thats the code for 1 <tr> of this table
My script is actually check the checkbox to check all the elements of this table. But to improve it, i need to uncheck some of them.

The condition is on the class of the element img on the element td 'lastRaid' of each tr.
If class contains 'iReport1' like in the exemple, i neednt uncheck, else i need that checkbox unchecked.

Can someone help me?

Thx to read and help, and sry for my bad english
Post Reply