简体   繁体   中英

Do iMacros support javascript or any other script?

There is a webpage which is having one textbox for every day.I am using iMacros firefox plugin to fill all textboxes. As of now, my macro fills all textboxes from monday to friday with a desired value, and then it submits the page. The webpage is designed like, if it is not friday today then it displays the error and will not let you submit. But if somehow i could get what day is today and then somehow fill the text box of only that day and submit the page then it will work. I think this can be done if iMacros support javascript or any other scripting language.

So first thing do it supports any scripting language at all? If yes then please help me how to do this, or please share any tutorial for this.

Yes, iMacros can run javascript in Firefox. If the javascript file is in the macros folder you are going to see it listed in the macros list and can run it directly in the browser by double clicking.

This javascript running in iMacros is somehow different, because it supports calls to the iMacros macro player through iimPlay(). Have a look at this link and also the samples installed with the iMacros Addon.

There is also an active iMacros user forum where you find several tips around iMacros.

Regards,

Marcia

It goes beyond just javascript, you can use jQuery even node.js. Just take a look at the imacros forum.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM