vendredi 28 décembre 2018

Imacros Javascript iim function to compare value If or Else if

My configuration is OS: windows 7 ultimate Estension: imacros 8.9.7 Browser: Firefox 56

I have a variabile with my ip address example

    var1 = 123.123.123.123

I have a csv file with all bad ip address to compare with my ip (var1)

list of bad ip to compare with var1:

    badip.csv 
    111.111.111.111
    112.112.112.112
    113.113.113.113
    114.114.114.114
    115.115.115.115
    116.116.116.116
    117.117.117.117
    118.118.118.118
    119.119.119.119
    120.120.120.120

Now I need with imacros (iim or js) to compare my ip addres (var1) with all badip saved in csv, and only after comprare my ip address (var1) with all bad ip saved in csv if my ip address (var1) is NOT present in badip.csv list go on mysite.com.

I need to compare my ip address (var1) with all badip and only if my ip address (var1) is NOT present in badip.csv list the macro continue loading mysite.com.

If my ip address (var1) is present in badip.csv the macro must not continue or stop.

Aucun commentaire:

Enregistrer un commentaire