Imacros javascript xml request

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
Walkos
Posts: 1
Joined: Wed Jul 12, 2017 4:34 pm

Imacros javascript xml request

Post by Walkos » Wed Jul 12, 2017 4:37 pm

Hello, i have this code:

Code: Select all

 var request = Components.classes['@mozilla.org/xmlextras/xmlhttprequest;1'].createInstance(Components.interfaces.nsIXMLHttpRequest),
        async = false;
    request.open('GET', 'http://url',false);
    request.send();
And on my windows machine works perfectly, bot on linux VPS in first line i have error "MacroSyntaxError: wrong format or URL command) Error code: -910". What to do?
Post Reply