call a iMacros-Script from greasemonkey

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Posts: 1
Joined: Tue Mar 29, 2016 5:01 pm

call a iMacros-Script from greasemonkey

Post by Duffman » Tue Mar 29, 2016 5:06 pm

Hello together,

I am running a Greasemonkey-Script on a specific website. How is it possible to call a iMacros-Script from Greasemonkey with iimPlay()?
User avatar
Posts: 405
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet

Re: call a iMacros-Script from greasemonkey

Post by thecoder2012 » Tue Mar 29, 2016 9:46 pm

You can try iimInit, iimOpen and then iimPlay or make a separate script file in imacros and then call it from your Greasemonkey-Script using imacros://run/?m=your-script.iim as url


Code: Select all

addEventListener('load', function() {
}, false );
Example without addEventListener:

Code: Select all

// ==UserScript==
// @name         New Userscript
// @match*
// @run-at       document-end
// @grant        none
// ==/UserScript==

And see my newest post with Tampermonkey under use imacros code in tampermonkey (same with Greasemonkey)
Join Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
Post Reply