Skip to content

Instantly share code, notes, and snippets.

@Vaysman
Created February 19, 2017 16:35
Show Gist options
  • Save Vaysman/3764e0c34ce1fa865dcf72b4008acc59 to your computer and use it in GitHub Desktop.
Save Vaysman/3764e0c34ce1fa865dcf72b4008acc59 to your computer and use it in GitHub Desktop.
for (i=0;i<60;i++){
var test;
test = "CODE:";
test +="TAG POS=1 TYPE=DIV ATTR=TXT:Withdraw" + "\n";
var w1 = ("name")
var w2 = ("name")
var itemname = content.document.getElementsByClassName("item-name")[i].innerHTML
if (w1 != itemname)
{iimDisplay("aaaa!" + i)}
else{content.document.getElementsByClassName("item-name")[i].click()
iimPlay(test)}
if (w2 != itemname)
{iimDisplay("aaaa!" + i)}
else{content.document.getElementsByClassName("item-name")[i].click()
iimPlay(test)}}
for (i=0;i<60;i++){
var test;
test = "CODE:";
test +="TAG POS=1 TYPE=DIV ATTR=TXT:Withdraw" + "\n";
var w1 = ("name")
var w2 = ("name")
var itemname = content.document.getElementsByClassName("item-name")[i].innerHTML
if (w1 != itemname)
{iimDisplay("aaaa!" + i)}
else{content.document.getElementsByClassName("item-name")[i].click()
iimPlay(test)}
if (w2 != itemname)
{iimDisplay("aaaa!" + i)}
else{content.document.getElementsByClassName("item-name")[i].click()
iimPlay(test)}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment