我想在 30 个 facebook 粉丝页面自动重新加载 facebook 页面时自动重新加载页面,并且再次与 start 不同,此页面簿页面中包含的代码与 imacro 代码不同,在哪里?此代码显示在下面。
var unlike,rnlike;
unlike = "CODE:";
unlike += "VERSION BUILD=7401110 RECORDER=FX" + "\n";
//unlike += "SET !ERRORIGNORE YES" + "\n";
unlike += "TAB T=1" + "\n";
unlike += "'URL GOTO=https://www.facebook.com/browse/other_connections_of/" + "\n";
unlike += "TAG POS={{j}} TYPE=SPAN ATTR=CLASS:uiButtonText&&TXT:Unlike" + "\n";
unlike += "wait seconds=2" + "\n";
var n=prompt("Please enter number of unlikes:");
var start;
start = iimPlay("CODE:URL GOTO=https://www.facebook.com/browse/other_connections_of/");
main:
{
for (j=1;j<=n;j++)
{
iimSet("j", j)
rnlike=iimPlay(unlike);
if (rnlike == -101) // abort script if user presses Stop button
{
break main;
}
if (rnlike == -802)//refresh if timeout
{
iimPlay("CODE:REFRESH",30);
}