How do I execute JavaScript from an iMacro script?
URL GOTO=javascript:alert("TEST");
The Javascript works fine when pasting it into the address bar (by putting "javascript:
" in front of the code) but unfortunately iMacros does not recognize this as a valid URL.
So since this doesn't work, what's the correct way to run JavaScript from an iMacro script?
Try something without a dialog. For example: URL GOTO=javascript:console.log("TEST");
or URL GOTO=javascript:function<SP>test(){status="TEST"};void<SP>test();