请输入您要查询的百科知识:

 

词条 iMacros
释义

iMacros 是个 Mozilla Firefox 浏览器附加组件,它主要功能是可以协助我们建立动作宏,以用来登入网站、论坛、登入网络信箱检查邮件,也可以让我们建立其它动作宏,例如:另存网页,储存网页上的组件(例如:图片),打印…等

简介

iMacros is an extension for the Mozilla Firefox web browsers which adds record and replay functionality similar to that found in web testing and form filler software. The macros can be combined and controlled via Javascript. The extension was developed by iOpus. The current stable release of iMacros is version 0.9.0.2, released on July 7, 2007. As of July 14, 2007 iMacros is one of the TOP 10 most popular Firefox extensions in the Bookmark, Web Data, Alerts, and Widgets and Social and Sharing categories.

iMacros is also available as a free Internet Explorer Add-On and (with additional features) as commercial application for Web Scripting, Web Scraping and Web Testing. The Scripting Interface of the iMacros Scripting Edition is a COM object and allows the user to remote control (script) the Internet Explorer and Firefox web browser from any Windows programming or scripting language.

参考代码

自动填充Form

[code]

VERSION BUILD=200003

TAB T=1

TAB CLOSEALLOTHERS

URL GOTO=http://www.imerl .com/signup.html

TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:TestForm ATTR=NAME:Name CONTENT=Tom<SP>Tester

'We manually changed the TAG command from using the postion of a value (e. g. "1")

'to using its real name, e. g. "Pizza"

TAG POS=1 TYPE=SELECT FORM=NAME:TestForm ATTR=NAME:main CONTENT=$Pizza

TAG POS=1 TYPE=SELECT FORM=NAME:TestForm ATTR=NAME:drink CONTENT=$Water

TAG POS=1 TYPE=INPUT:CHECKBOX FORM=NAME:TestForm ATTR=NAME:C7&&VALUE:ON CONTENT=YES

TAG POS=1 TYPE=SELECT FORM=NAME:TestForm ATTR=NAME:dessert CONTENT=$Apple<SP>Pie:$Fruits

TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:TestForm ATTR=NAME:Customer&&VALUE:Yes CONTENT=Yes

SET !ENCRYPTION NO

TAG POS=1 TYPE=INPUT:PASSWORD FORM=NAME:TestForm ATTR=NAME:Reg_code CONTENT=demo123

TAG POS=1 TYPE=TEXTAREA FORM=NAME:TestForm ATTR=NAME:Remarks CONTENT=Hi!<BR><LF><BR><LF>iMacros<SP>fills<SP>forms<SP>;-)<BR><LF><BR><LF>Tom

TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:TestForm ATTR=NAME:SendButton&&VALUE:Click<SP>to<SP>order<SP>now

WAIT SECONDS=5

URL GOTO=http://www.iopus .com/signupok.html

[/code]

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/12/23 20:10:20