I can\'t figure out how to use imacros with JavaScript. I have looked at their Help, have seen countless examples here on Stack Overflow, but don\'t know what am missing. It
If you're experiencing this problem while using Chrome to run iMacros; the answer is really simple:
Download Firefox and run the iMacros plugin on there.
I experienced the same problem, receiving the error message: "Error -1100: Unknown command: VAR at line: 1", while using Chrome.
But with Firefox I can now run javascript files, have more options to play around with, and less bugs to disrupt my scrapes.