[TUTORIAL] Multiple FireFox Instances and iMacors Automation + BENEFITS and TIPS

Mr.Profit

Regular Member
Joined
Dec 22, 2009
Messages
221
Reaction score
481
Hello BHW,

In this post I will explain how to use multiple instances of Mozilla Firefox along with iMacros for automation.

Now, you may ask - WHY THE HELL I SHOULD DO THIS?

Well, here are some benefits:

- Each instance has its own settings
- Each instance has its own SEPARATE COOKIES
- Each instance MAY HAVE its own PROXY
- Each instance COULD be used to automate THE SAME SITE with different USERNAME!
- All the instances are going to work better, because they won't be heavily enhanced with add-ons like your primary browser.

Remember the IMVU thread lately? Now imagine you COULD'VE RUN the script with 10 users AT THE SAME TIME, targeting DIFFERENT GROUP of members, or using DIFFERENT TWIST? This would result into:

- More conversions per time period
- Easier and FASTER split testing your method/s
- A lot more I can't simply think of right now...

OR MAYBE you've some PPC Vouchers, but you're too scared not to mess up the proxies and cookies and whatnot? Well, this can help you too!

First of all you need to get Firefox if you don't have it already! Get it from here:
Code:
http://www.mozilla.org/en-US/products/download.html?product=firefox-11.0&os=win&lang=en-US

For those of you, who are using 64bit Windows/Linux Systems get Waterfox (64bit Firefox) from here:
Code:
http://waterfoxproject.org/downloads/

You can get also 64bit versions of Adobe Flash, Java, and Microsoft Silverlight from the link above.

Now that you have Firefox, you need to setup your instances and we will do this using the built-in Profile Manager:

1) Rename the shortcut on your desktop to "FF Profile Manager" or "FF Profile Selector" or anything that you want, as long as you know it's not the main FF shortcut
2) Right-click on the shortcut you just renamed, and in the TARGET field add the following:
Code:
 -no-remote -ProfileManager

NOTICE: There's a space before the first "-" in "-no-remote"

ShortcutInfo-Edited.png


3) Click "Apply" and then "OK"

Let's setup some profiles, and this is quite easy too:

1) Start the FF Profile Manager

FF-Profile-Manager.png


2) Click on the "Create Profile" -> "Next"

3) Enter a name for your new profile - Make sure it means something to you, or it describes what this profile is for, but keep it short (I'll explain later) and click the "Finish" button

CP.png


Okay, by now you've setup FF and one (or more) profiles. Now to let the magic happen you need to install some Plugins, which will control the proxies and iMacros of course. Also you want to tune up a bit each profile, so it's faster and works smoothly. Let's start:

In the address bar write the following:
Code:
about:config

You'll have to agree to be careful, and then you'll be able to edit under-the-hood settings on your browser. Now search for these settings, and change their values accordingly:

network.http.pipelining to True (Double click on the row to change)
network.http.proxy.pipelining to True (Double click on the row to change)
network.http.pipelining.ssl to True (Double click on the row to change)
network.http.pipelining.maxrequests to 20
network.http.max-connections to 128
network.http.max-connections-per-server to 48
network.http.max-persistent-connections-per-proxy to 24
network.http.max-persistent-connections-per-server to 12

Enough with the network settings, a few other tweaks:

1) Create new INTEGER based option (Right-Click in the Window -> "New" -> "Integer"), and name it "nglayout.initialpaint.delay" (without quotes) and for its value use "0" (ZERO) - this will force FF to use less resources when minimized!

minimzetweak-1.png


2) Set "browser.cache.memory.enable" to TRUE

3) Add new INTEGER based option (See above how to do it) "browser.cache.memory.capacity" and set its value to "20000" (Equals to 20MB) - This option forces FF to use the particular amount of cache memory.

4) MOST IMPORTANT, download Firemin from:
Code:
http://www.rizonesoft.com/2011/firemin/

This little app will optimize Firefox databases and will result in GREAT IMPROVEMNT of PERFORMANCE of all your instances! Using this alone, I was able to lower the memory usage to 10-12MB per 50 open tabs!

Last but not least the Plugins you WILL need to be able to use the instances separately, and without confusing them with one another:

1) Premium Proxy Switcher - BY FAR my favorite proxy switching plugin for Firefox, although the name says "Premium", you can import and use your own proxies in there, and you don't have to use the premium service. Download it from here, but make sure you're getting the latest version - 1.0.14 at the time of writing this:
Code:
http://freeproxylist.org/en/premium-proxy-switcher.htm

2) Show Profile - This will add the name of your profile to each instance, so you can easily know which one is which. I suggest you setting up "custom text", otherwise the name of the profile will be used.:
58351.png


Download it from:
Code:
https://addons.mozilla.org/en-US/firefox/addon/show-profile/

3) AdBlock Plus/Light - Most of you know what this one does, so I won't go into detail - in short skipping ads will result in better page loading speed at least! Download it from:
Code:
https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/

OR

https://addons.mozilla.org/en-US/firefox/addon/adblock_lite/

4) AND.... iMacros - The tricky part here is that iMacros will not be able to RECOGNIZE its own folders after the first installation on the first profile, SO when you install it on the 2nd, 3rd and so on profiles you need to set the paths, by going to "Edit" -> "Options" -> "Paths" and fill in the appropriate folders!

iMacrossettings.png


ATTENTION! When using ONLY 1 MAIN iMacros folder [(My) Documents\iMacros], and using Datasource files in your scripts you will need to name it differently for each instance!

Otherwise if you use many iMacros folders, like:
(My) Documents\iMacros-1
(My) Documents\iMacros-2
.....

You can bind these to the different profiles and use the same Datasource files, just change the information in there, and THEREFORE you can use the same MACRO (you won't have to change the Datasource line every time)

Both of these methods are OK, depending on you. I personally prefer only 1 iMacros folder with many versions of my DATASOURCE and MACRO files.

NOW GO RECORD SOME MACROS and START EARNING!!!

Regards,
Mr.Profit
 
Last edited:
Nice tutorial. The main advantage of imacros is that even a noob can use it and the main disadvantage is probably you can not run more than one simultaneously.

OP, how many profiles you've run at one at the same time?

Great share. rep+
 
Wow, i just tried to run multi imacro but it d dosn't work, so i forgot about it till i found this precious guide,Thanks+rep !!! !!
 
This will surely come handy for my future tactics to making money!
Very detailed guide, bookmarked.
 
I was going to do a tutorial for this with a youtube views macro. Well done for shearing you saved me a job.

I can say iv used this and it works only problem is the macro's i created where too unstable. I believe its due to issues with javascript.

Once again great work creating this.

+ REP +Thanks
 
Thank you everyone for the response, glad I could've shared something valuable.

Frankly, I was thinking it will be useful to more people :)

Nice tutorial. The main advantage of imacros is that even a noob can use it and the main disadvantage is probably you can not run more than one simultaneously.

OP, how many profiles you've run at one at the same time?

Great share. rep+

Following the guide you not only will be able to run "multithreaded" macros (so to speak), but you will be using less resources if you decided to follow the Firefox optimization part!

I personally never had to run more than 5 (which is my personal record right now), but I suppose as long as you've the RAM and CPU to handle FF, then you can run "infinite" instances.

I was going to do a tutorial for this with a youtube views macro. Well done for shearing you saved me a job.

I can say iv used this and it works only problem is the macro's i created where too unstable. I believe its due to issues with javascript.

Once again great work creating this.

+ REP +Thanks


Well, if you don't need the javascript, just skip it and record plain macros, other than that, if you need branching in your code, you'll have to deal with JS, which is not my strong side, yet if I can I'd help.


Regards,
Mr.Profite
 
Is a couple of year that I use multiple firefox tabs, you gave me some more tips on how to do a better configuration.

Another think that I can add you can also use Tor, and install the plugin for firefox.
 
Last edited:
Is a couple of year that I use multiple firefox tabs, you gave me some more tips on how to do a better configuration.

Another think that I can add you can also use Tor, and install the plugin for firefox.

Or you can use proxies in the beginning of each script, pulling them out of .csv file.

Regards,
Mr.Profit
 
Thanks a lot for those config tweaks and 64bit firefox. I've been running 12 firefox profiles for my operation and this looks like it will optimize it quite a bit.

Is there any way to make config changes to 1 profile and have all others copy it? Adding a list of config changes to a dozen+ profiles individually can be time consuming.
 
A really great tutorial. I could now make more in the same time
 
where we can earn money with this imacro tip? can you please tell me the sites where I can use this script and earn money?
 
Thank you VERY VERY VERY VERY VERY much Man :)
This thread open my mind and help me so much with my current method
You Rock! A newbie like me need people like you :)

Thanks again
 
Thx very much for this tutorial! Amazing.
but I do not find network.http.max-connections-per-server to 48 in config.
shall I create it as integer?
 
wow this is very informative .. i have bookmarked it i tried to automate something similar but it didnt work well
 
Nice tips with a great explanation with pics. After read this I don't have any more question, Thx a lot ^^
 
Hello,

Thank you all for the kind words!

Thx very much for this tutorial! Amazing.
but I do not find network.http.max-connections-per-server to 48 in config.
shall I create it as integer?

It should be there in the first place, just start typing up in the field network.http.max and check if you can find it, if you really can't see it, just add it as integer but make sure to write it correctly.

Regards,
Mr.Profit
 
I've working around with imacro. Well, I used to work with it few months ago then I left it cuz I got busy with work.
I was wondering if you can suggest me how to use imacros to copy the URLs from the browser to spreadsheets or simply notepad. Is it doable?

Thanks a lot for sharing the code Op!
 
I've working around with imacro. Well, I used to work with it few months ago then I left it cuz I got busy with work.
I was wondering if you can suggest me how to use imacros to copy the URLs from the browser to spreadsheets or simply notepad. Is it doable?

Thanks a lot for sharing the code Op!

Hey mate,

Yes it is doable through the extract function and save functions of iMacros. More info:
Code:
http://wiki.imacros.net/Data_Extraction

Regards,
Mr.Profit
 
Back
Top