Opening and Managing 2 Google Accounts in the Same Browser

This is a follow-up to my post about why IE sucks so much.

I figured out how to not use IE, and still be able to open multiple google (or gmail) accounts in Firefox at the same time.

I had two different people tell me to use FF and Safari, which Apple just released for windows.

I figured out how to do it in Firefox using profiles, along with a short hack.

Normally, when you open up multiple Firefox windows, they share the same cookie data. If you’re logged in to one account on a website, and you open up another browser, you are automatically logged into that same account on that same website automatically. This is designed behavior in Firefox.

To set this up to work first you need to create 2 profiles.

  • Close all your firefox windows
  • do Start -> Run and then run this command: “c:\program files\mozilla firefox\firefox” -ProfileManager
  • Create another profile using the profile manager
  • Create a shortcut to user your second profile (you need to know what you named it, and it is case sensitive)
  • Right click on the firefox icon on your desktop and select “create shortcut”
  • Right click on the new icon and select properties
  • The target field in the new window is something like: “C:\Program Files\Mozilla Firefox\firefox.exe”. Change it to be: “C:\Program Files\Mozilla Firefox\firefox.exe” -P “YourProfileName” (where YourProfileName is the name of the new profile you just created)

You’re now done creating the profiles.

Now, you need to do the small hack.

Go to Control Panel -> System -> Advanced -> Environment Variables -> System Variables -> New

In the 2 boxes, put MOZ_NO_REMOTE and 1 (so you are setting the environment variable MOZ_NO_REMOTE=1) and click ok, ok, ok.

That’s it. When you open firefox normally (with the normal icon) it will open your default profile.
When you click on the second shortcut (the one you just made), it will open your second profile.

The two magically don’t share cookies, and now you can login to 2 gmail accounts at the same time, without using IE.

This will also work with any other site (not just gmail and google accounts) that requires you to login.

[tags]open two google accounts,open two gmail accounts, manage multiple accounts[/tags]

Filed under Reference, Technology by

Comment

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Comments on Opening and Managing 2 Google Accounts in the Same Browser »

9/20/2007

Kiril @ 3:06 pm

Very nice, It works very well…Thanks

5/24/2008

Ram @ 11:24 am

hey, its awesome. But it didnt work the way you told.
There is no need to create the env variable.

Run the following command
firefox -P PROFILENAME -no-remote

3/23/2009

Gabe @ 12:04 am

Old post, but hopefully someone will read and find the info useful. I solved the problem using only Firefox and the Cookieswap addon.

“CookieSwap enables you to easily swap all your cookies so that you can be logged in to multiple web e-mail accounts (like Gmail and Yahoo! mail) at the same time and quickly switch between them.”

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

3/26/2009

Chris Baker @ 8:48 am

Very helpful link…it’s just what I needed! Thanks

6/22/2009

LATaurus @ 11:15 am

Soooo helpful!! Thank you – I’m glad my search picked this up.

Leave a Comment

Disclaimer: According to the new FTC guidelines, I have to tell you that sometimes I get paid for recommending certain products on my blog. Not all the time, but often. Sometimes I get products for free (ok...fine...most of the time I get stuff for free).

Register Login