Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Loops Imacros循环并更改代理?_Loops_Firefox_Proxy_Imacros - Fatal编程技术网

Loops Imacros循环并更改代理?

Loops Imacros循环并更改代理?,loops,firefox,proxy,imacros,Loops,Firefox,Proxy,Imacros,我想让脚本imacros设置datasoruce ts.txt,并添加100个条目column1 我想将循环设置为第1列,并在完成imacros后清除cookies并更改代理 VERSION BUILD=9052613 TAB T=1 FILTER TYPE=IMAGES STATUS=ON SET !DATASOURCE xxx.txt URL GOTO=http:// wait seconds=3 TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/ ATTR=NA

我想让脚本imacros设置datasoruce ts.txt,并添加100个条目column1

我想将循环设置为第1列,并在完成imacros后清除cookies并更改代理

VERSION BUILD=9052613
TAB T=1
FILTER TYPE=IMAGES STATUS=ON
SET !DATASOURCE xxx.txt
URL GOTO=http://
wait seconds=3
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/ ATTR=NAME:xxxx CONTENT={{!COL1}}
wait seconds=3``
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/ ATTR=ID:submit
wait seconds=3
CLEAR
变更代理 循环

设置!错误忽略是
设置数据源**proxies.csv**
设置数据源_第2列
设置回路1
设置数据源_行{{!循环}
设置超时60
清楚的
'代理模块
URL GOTO=about:config
URL GOTO=javascript:varprefb=Components.classes[“@mozilla.org/preferences service;1”].getService(Components.interfaces.nsIPrefBranch);varstr=Components.classes[“@mozilla.org/supports string;1”].createInstance(Components.interfaces.nsistupsstring);str.data=“{!COL1}}”;prefb.setComplexValue(“network.proxy.http”,Components.interfaces.nsISupportsString,str);
URL GOTO=about:config
URL GOTO=javascript:gPrefBranch.setIntPref(“network.proxy.http_port”,{{{!COL2}});

尽量解释清楚,我一点也不懂
SET !ERRORIGNORE YES

SET !DATASOURCE **proxies.csv**

SET !DATASOURCE_COLUMNS 2

SET !LOOP 1

SET !DATASOURCE_LINE {{!LOOP}}

SET !TIMEOUT 60

CLEAR


'proxy module

URL GOTO=about:config

URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);

URL GOTO=about:config

URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{!COL2}});