Operating System: Windows 10
Browser: Versión 60.0.3112.101 (64 bits)
Demo iMacros working OK
Hi! I am trying to use this macro to automatically read from a .csv file urls and send them to Google Search Console in order to ask for deletion from the index.
I know it's javascript but I read that you can also use .js macros in iMacros, isn't it? Do I have to do any change to this code in order to function in iMacros for Chrome?
Code: Select all
var load;
load = “CODE:”;
load += “SET !DATASOURCE urlsAEliminar.csv” + “\n”;
load += “SET !DATASOURCE_COLUMNS 1” + “\n”;
load += “SET !DATASOURCE_LINE {{i}}” + “\n”;
load += “TAG POS=2 TYPE=DIV ATTR=TXT:Ocultar<SP>temporalmente” + “\n”;
load += “TAG POS=1 TYPE=INPUT:TEXT FORM=ID:newremovalform ATTR=ID:urlt CONTENT={{!COL1}}” + “\n”;
load += “TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:newremovalform ATTR=NAME:urlt.submitButton” + “\n”;
load += “TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:the-form ATTR=ID:submit-button” + “\n”;
load += “WAIT SECONDS=” + Math.round(Math.random()*(5-3)+parseInt(3)) + “\n”;
for(i=1; i<=41; i++) {
iimSet(“i”,i);
iimPlay(load);
siteName = iimGetLastExtract(0);
}