Convert Figma logo to code with AI

mozilla logomulti-account-containers

Firefox Multi-Account Containers lets you keep parts of your online life separated into color-coded tabs that preserve your privacy. Cookies are separated by container, allowing you to use the web with multiple identities or accounts simultaneously.

2,679
330
2,679
536

Top Related Projects

Brave browser for Android, iOS, Linux, macOS, Windows.

Google Chromium, sans integration with Google

DuckDuckGo Privacy Essentials browser extension for Firefox, Chrome.

🛡🛠 You are being watched. Protect your privacy against global mass surveillance.

Quick Overview

Mozilla's Multi-Account Containers is a Firefox browser extension that allows users to separate their online identities into different containers. This extension helps users manage multiple accounts on the same website, isolate browsing data, and enhance privacy by preventing cross-site tracking.

Pros

  • Improves online privacy by isolating cookies and other site data
  • Enables easy management of multiple accounts on the same website
  • Customizable with color-coded containers for easy identification
  • Integrates well with Firefox's built-in privacy features

Cons

  • Only available for Firefox browser
  • May require some initial setup and learning curve for new users
  • Can potentially lead to confusion if too many containers are created
  • Some websites may not function properly in containerized tabs

Getting Started

To get started with Multi-Account Containers:

  1. Open Firefox browser
  2. Visit the Mozilla Add-ons page for Multi-Account Containers
  3. Click "Add to Firefox"
  4. Follow the prompts to install the extension
  5. Once installed, click on the Multi-Account Containers icon in the toolbar to create and manage containers

After installation, you can create new containers by:

  1. Clicking the Multi-Account Containers icon
  2. Selecting "Create New Container"
  3. Choosing a name, icon, and color for the container
  4. Clicking "OK" to create the container

To open a website in a specific container:

  1. Right-click on a link or the address bar
  2. Select "Open Link in New Container Tab"
  3. Choose the desired container

You can also set specific websites to always open in a particular container by visiting the extension's preferences.

Competitor Comparisons

Brave browser for Android, iOS, Linux, macOS, Windows.

Pros of Brave Browser

  • Full-featured web browser with built-in privacy and security features
  • Includes ad-blocking, cryptocurrency wallet, and rewards system
  • Larger codebase with more active development and contributors

Cons of Brave Browser

  • More complex project with a steeper learning curve for contributors
  • Requires more system resources due to its comprehensive feature set
  • Less focused on container-based privacy compared to Multi-Account Containers

Code Comparison

Multi-Account Containers (JavaScript):

async function createContainer(name, color, icon) {
  const context = await browser.contextualIdentities.create({
    name: name,
    color: color,
    icon: icon
  });
  return context;
}

Brave Browser (C++):

void BraveContentBrowserClient::RegisterNetworkContextServices(
    content::BrowserContext* context,
    ChromeNetworkContextParams* network_context_params) {
  ChromeContentBrowserClient::RegisterNetworkContextServices(
      context, network_context_params);
  network_context_params->enable_brave_proxies = true;
}

Summary

While Multi-Account Containers focuses on isolating browsing sessions within Firefox, Brave Browser is a complete Chromium-based browser with integrated privacy features. Brave offers a more comprehensive solution but requires more resources and has a larger codebase. Multi-Account Containers provides a simpler, more targeted approach to container-based privacy within an existing browser ecosystem.

Google Chromium, sans integration with Google

Pros of ungoogled-chromium

  • Offers a more comprehensive approach to privacy by removing Google-specific integrations
  • Provides a full browser experience rather than just container-based isolation
  • Allows for customization and building from source for enhanced control

Cons of ungoogled-chromium

  • Requires more technical knowledge to set up and maintain
  • May break some websites that rely on Google services
  • Updates can be delayed compared to standard Chrome releases

Code comparison

While a direct code comparison isn't particularly relevant due to the different nature of these projects, we can look at how they approach their goals:

multi-account-containers (JavaScript):

async function createContainer(name, color, icon) {
  return browser.contextualIdentities.create({
    name: name,
    color: color,
    icon: icon
  });
}

ungoogled-chromium (C++):

bool RemoveGoogleHostsFromNetworkDelegate() {
  net::NetworkDelegate::OnBeforeURLRequestCallback callback =
      base::BindRepeating(&GoogleURLRequestInterceptor);
  network_delegate_->SetURLRequestInterceptor(callback);
  return true;
}

These snippets illustrate the different levels at which these projects operate: multi-account-containers works within the browser's API, while ungoogled-chromium modifies the browser's core functionality.

DuckDuckGo Privacy Essentials browser extension for Firefox, Chrome.

Pros of DuckDuckGo Privacy Extension

  • Broader privacy protection across multiple websites and search engines
  • Includes additional features like tracker blocking and encryption enforcement
  • Actively maintained with frequent updates and improvements

Cons of DuckDuckGo Privacy Extension

  • Less granular control over individual website containers
  • May interfere with some website functionalities due to aggressive blocking
  • Not as deeply integrated with the browser as Multi-Account Containers

Code Comparison

Multi-Account Containers:

async function createContainer(name, color, icon) {
  return browser.contextualIdentities.create({
    name: name,
    color: color,
    icon: icon
  });
}

DuckDuckGo Privacy Extension:

class TrackerBlocker {
  constructor() {
    this.trackers = new Set();
  }
  
  blockTracker(url) {
    this.trackers.add(url);
  }
}

The code snippets highlight the different focus areas of each extension. Multi-Account Containers emphasizes creating isolated browsing contexts, while DuckDuckGo Privacy Extension focuses on blocking trackers and enhancing privacy across all websites.

🛡🛠 You are being watched. Protect your privacy against global mass surveillance.

Pros of privacytools.io

  • Comprehensive privacy resource: Offers a wide range of privacy-focused tools and recommendations
  • Community-driven: Maintained by privacy enthusiasts and experts
  • Regular updates: Frequently updated with new privacy tools and information

Cons of privacytools.io

  • Not a browser extension: Doesn't provide direct functionality within the browser
  • Less focused: Covers a broad range of privacy topics, not specific to container management

Code comparison

While a direct code comparison isn't relevant due to the different nature of these projects, we can look at how they structure their repositories:

multi-account-containers:

// src/js/background.js
async function initialize() {
  await initializeContainers();
  await initializeContextMenus();
  await initializeWebRequestListeners();
}

privacytools.io:

<!-- _includes/sections/browser-addons.html -->
<h3>{{ site.data.strings.addons }}</h3>
{% for addon in site.data.addons %}
  {% include card.html %}
{% endfor %}

multi-account-containers focuses on JavaScript for browser extension functionality, while privacytools.io uses HTML templates to generate its website content.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Multi-Account Containers

Test

The Firefox Multi-Account Containers extension lets you carve out a separate box for each of your online lives – no more opening a different browser just to check your work email!

Learn more about Multi-Account Containers in our end-user documentation.

Contributing

Everyone is welcome to contribute to Multi-Account Containers. To learn how to contribute a patch to Multi-Account Container, please read our contributing guide.

You can also chat with us on our Matrix room or our forum.

This repository is governed by Mozilla's code of conduct and etiquette guidelines. For more details, please read the Mozilla Community Participation Guidelines.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.