Search found 16 matches

by stevenp
Thu Apr 10, 2014 9:12 pm
Forum: iMacros for Firefox
Topic: using proxy list or plugin on firefox?
Replies: 27
Views: 696643

Re: using proxy list or plugin on firefox?

Well yes, there's a solution now var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch); // manual proxy configuration prefs.setIntPref("network.proxy.type", 1); // use the proxy server for all protocols prefs.setBoolPref("network.proxy.s...
by stevenp
Sat Sep 14, 2013 10:26 pm
Forum: iMacros for Firefox
Topic: Extend Your Firefox iMacros
Replies: 11
Views: 4734

Re: Extend Your Firefox iMacros

Hmmm! What a nice library, so pity that i've come across it only now. //Execute imacro command directly, can use [SP] - ' ', [LF] - '\r', [BR] - '\n' //eg. iimPlayExt('URL GOTO=http://www.iopus.com/'); function iimPlayExt(command) { return iimPlay('code:' + command); } I checked the iimPlayExt funct...
by stevenp
Fri Aug 30, 2013 8:44 am
Forum: iMacros for Firefox
Topic: Include JS Functions Library in JS File
Replies: 17
Views: 15426

Re: Include JS Functions Library in JS File

instead of

Code: Select all

var request = new XMLHttpRequest();
write

Code: Select all

const XMLHttpRequest = Components.Constructor("@mozilla.org/xmlextras/xmlhttprequest;1");
request = XMLHttpRequest();
by stevenp
Wed Aug 21, 2013 3:17 am
Forum: iMacros for Firefox
Topic: An !EXTRACTDIALOG workaround for Firefox
Replies: 2
Views: 5069

Re: An !EXTRACTDIALOG workaround for Firefox

That doesn't work with regular Firefox dialog boxes, like this one
Image
by stevenp
Tue Aug 20, 2013 12:08 am
Forum: iMacros for Firefox
Topic: Is iMacros JavaScript Running?
Replies: 2
Views: 705

Re: Is iMacros JavaScript Running?

That's too bad, too rude limitation. how about debugging javascript in firefox? what are the possibilities? i know how to observe variables with debugger, but how can i see exactly which line number is currently playing? it looks like the jsplayer doesn't always report correct line number, sometimes...
by stevenp
Tue Aug 13, 2013 2:44 am
Forum: iMacros for Firefox
Topic: Break Stop Interrupt a JavaScript that is running in Firefox
Replies: 1
Views: 1242

Re: Break Stop Interrupt a JavaScript that is running in Fir

should i use javascript's setTimeout() and/or setInterval() if i will have to do that step then iMacros' .iim becomes totally useless (except the sidebar), because everything, I mean *EVERYTHING* that is built into IIM language is possible to perform with JavaScript + XUL and there's a plethora of l...
by stevenp
Sun Aug 11, 2013 2:37 pm
Forum: iMacros for Firefox
Topic: Is iMacros JavaScript Running?
Replies: 2
Views: 705

Is iMacros JavaScript Running?

How to determine whether a javascript initiated with imacros (either with "URL GOTO=imacros://run/?m=path.js" or from the sidebar) is running in particular Firefox browser instance (profile)? i need to perform that task regardless of the caller script language Logging is not appropriate solution, as...
by stevenp
Sat Aug 10, 2013 2:57 am
Forum: iMacros for Firefox
Topic: Break Stop Interrupt a JavaScript that is running in Firefox
Replies: 1
Views: 1242

Break Stop Interrupt a JavaScript that is running in Firefox

I'm facing a problem to connect to already running Firefox window which evaluates some JavaScript with iimPlay() i use iimOpen() to do that im.iimOpen("-fx -fxProfile f01", false) ; Use open Firefox instance simply by running this code: while(1){ iimPlay("CODE:WAIT SECONDS=10") } makes the script ex...
by stevenp
Wed Jul 24, 2013 8:25 pm
Forum: iMacros for Firefox
Topic: Debugging JavaScript
Replies: 2
Views: 921

Re: Debugging JavaScript

//imacros-js:showsteps no // With the imacros-js:showsteps command you can tell iMacros to show or // not show the Javascript commands during the execution. // Showing steps is useful for debugging, but adds an artificial delay to each step. // This command overrides the global settings in the Opti...
by stevenp
Tue Jul 23, 2013 11:18 pm
Forum: iMacros for Firefox
Topic: Debugging JavaScript
Replies: 2
Views: 921

Debugging JavaScript

I would like to observe variables and object properties values of the JavaScript that is played with iMacros.
Are these exposed somewhere?
What tools I need?
I've installed various Extensions - DOM Inspector, FireBug, JavaScript Debugger, Browser Debugger, etc.
Where should I look?

Thanks
by stevenp
Thu Jul 04, 2013 8:17 am
Forum: General Support & Discussions
Topic: iMacro script syntax highlighting in Notepad++ editor
Replies: 52
Views: 276732

Re: iMacro script syntax highlighting in Notepad++ editor

The built-in editor is great for iim, how can I set to use external editor only for Javascript?
I would like to use Notepad++ for iim and SublimeText for js.
Thanks
by stevenp
Mon Jul 01, 2013 2:22 pm
Forum: iMacros for Firefox
Topic: using proxy list or plugin on firefox?
Replies: 27
Views: 696643

Re: using proxy list or plugin on firefox?

After the macro runs, iMacros resets the proxy settings. Is there a way to hold, remain the proxy after the macro finishes in Firefox? Also when an error occurs in the macro, there's a fallback too. Also when called from a javascript with iimPlay(), the Proxy setting removed too. This makes the PRO...
by stevenp
Wed Jun 26, 2013 4:05 am
Forum: iMacros for Firefox
Topic: Include JS Functions Library in JS File
Replies: 17
Views: 15426

Re: Include JS Functions Library in JS File

The topic at stackoverflow is about including javascript to the page - .createElement('script') method is about adding <script></script> tag to the page in the DOM.
The js functions, variables are not available to the imacros firefox javascript :(
by stevenp
Tue Jun 25, 2013 3:18 pm
Forum: iMacros for Firefox
Topic: Include JS Functions Library in JS File
Replies: 17
Views: 15426

Re: Include JS Functions Library in JS File

I would really like to be able to include custom user functions from some library folder, and the ability to use jQuery selectors and traversing without calling .iim every time.
Thank you.
by stevenp
Tue Jun 25, 2013 3:17 pm
Forum: iMacros for Firefox
Topic: Include JS Functions Library in JS File
Replies: 17
Views: 15426

Re: Include JS Functions Library in JS File

Is this a limitation in Firefox XUL environment?