Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/411.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
如何使用JavaScript运行imacros_Javascript_Imacros - Fatal编程技术网

如何使用JavaScript运行imacros

如何使用JavaScript运行imacros,javascript,imacros,Javascript,Imacros,我正在使用和学习Imacros, 我需要提取一个elementid,然后如果提取的ID的文本与保存在其文件夹中的任何Imacro完全匹配,则应运行此Imacro 我需要提取广告商的名字,如果任何Imacro的名字与广告商的名字匹配,Imacro应该运行这个Imacro 很抱歉,我现在无法发布图像。在这种情况下,如果您使用“iMacros for Firefox”,您甚至不需要应用任何脚本界面: SET macroToRun {{!EXTRACT}} URL GOTO=imacros://run/

我正在使用和学习Imacros, 我需要提取一个elementid,然后如果提取的ID的文本与保存在其文件夹中的任何Imacro完全匹配,则应运行此Imacro

我需要提取广告商的名字,如果任何Imacro的名字与广告商的名字匹配,Imacro应该运行这个Imacro


很抱歉,我现在无法发布图像。

在这种情况下,如果您使用“iMacros for Firefox”,您甚至不需要应用任何脚本界面:

SET macroToRun {{!EXTRACT}}
URL GOTO=imacros://run/?m={{macroToRun}}.iim