Skip to main content

Enable Firefox state partitioning (Total Cookie Protection)

Overview

About this category

This category contains privacy scripts for Linux.

These changes use Linux system commands to update your settings.

Web browsers, including Firefox, save various data types such as cookies, cache, and site-specific details. While this data helps in providing a faster and personalized browsing experience, it can be exploited by websites to track your activities across the internet, potentially compromising your privacy.

State partitioning, also known as "Total Cookie Protection" 1, is a feature designed to enhance user privacy in Firefox. It works by allocating different, isolated storage spaces for every website you visit 2. This means that each website has its own "compartment" where it saves its data, separate from other sites 2. This structure limits websites' capabilities to track users across various domains.

The underlying technology for state partitioning in Firefox is termed "double-keying" 1. In this method, when a website intends to store data, Firefox attaches an extra identifier tied to the site's origin, ensuring unique data storage for each site 1. For example, if two different sites incorporate content from the same third-party source, each of these sites will have its own unique version of the third-party's data (like cookies) due to state partitioning 1. This impedes the third-party's tracking ability between the sites.

This protection isn't just against known trackers 1. Firefox applies state partitioning to all third-party content on a site, ensuring a comprehensive privacy coverage, beyond just identifiable tracking sources 1 3.

A notable misuse by some trackers is the creation of "supercookies" 4. Contrary to standard cookies, which users can delete easily, supercookies are harder to eliminate and block, posing a considerable privacy challenge. Through state partitioning, Firefox renders supercookies ineffective for tracking users across sites 4. As a part of this feature, Firefox not only ensures site-specific data but also partitions multiple caches, such as HTTP cache, image cache, and favicon cache 4. This partitioning prevents any potential cache exploitation for tracking purposes 4.

In summary, enabling state partitioning in Firefox is a powerful privacy tool, helping to defend users from potential online tracking and offering a more private browsing experience.

Caution: Mixed Risk Levels

Be careful running these scripts. This category includes scripts with high impact:

  • 🟡 Some recommended scripts only if you understand its implications. Some non-critical or features may no longer function correctly after running this this category.
  • 🟢 Some safely recommended scripts. Safe-to use for any user.
Implementation Details
  • Language: bash

  • Scripts Count: 3 scripts

  • Required Privileges: Root/sudo access

  • Compatibility: Linux only

  • Reversibility: All changes can be reverted

Apply now

These scripts are written using Bash (Shell script) scripting language.

Choose one of two ways to apply:

  1. Automatically via privacy.sexy: The easiest and safest option.
  2. Manually by downloading: Requires downloading a file.

Alternative 1. Apply with Privacy.sexy

privacy.sexy is free and open-source application that lets securely apply this action easily.

Open privacy.sexy

It allows selectively choose parts of this action to conduct. You can fully restore this action (revert back to the original behavior) using the application. Additionally, you can apply only the recommended scripts, instead of applying all of the scripts.

privacy.sexy instructions
  1. Open or download the desktop application
  2. Search for the category name: Enable Firefox state partitioning (Total Cookie Protection).
  3. Check the category by clicking on the checkbox of the category.
  4. Click on Run button at the bottom of the page.

Alternative 2. Download

You can choose to apply only scripts with less impact or also those with higher impact:

Standard

Recommended for all users. It helps to improve privacy without affecting stability.

Scroll

Strict

Recommended if you understand its implications. It may cause some non-critical features to no longer function correctly.

Scroll

Consider restarting your computer for all changes to take affect.

Reversible

This action is completely reversible, you can restore your changes to the initial/default state. The restore/revert methods provided here can help you fix issues.

If something goes wrong, use the Revert script provided above.

Standard

This script includes only Standard recommendation level.

Safe for General Use

Standard scripts in this category is recommended for all users. They help to improve privacy without affecting stability.

Download only standard scripts by clicking on the button:

Download script

Restore these changes if you decide to revert them by downloading the restore script:

Download restore script

Strict

This script includes Standard and Strict recommendation levels.

Use with Caution

This script is only recommended if you understand their implications of every single change. Some non-critical or features may no longer function correctly after running this script.

Download Strict scripts:

Download script

Restore these changes if you decide to revert them by downloading the restore script:

Download restore script

Explore further

This category includes total of 3 scripts but no subcategories.

Explore its 3 scripts:

Enable dynamic First-Party Isolation (dFPI)

Dynamic First-Party Isolation, also known as dFPI, is an advanced privacy feature in Firefox. This feature commonly referred to as: Total Cookie Protection, • dFPI (dynamic First-Party Isolation), • Dynamic storage partitioning. Essentially, dFPI is an enhanced version of a previous privacy tool known as First-Party Isolation (FPI). The primary purpose of dFPI is to improve user privacy online. It accomplishes this by preventing third-party websites from accessing or tracking a user's data acros...

Enable Firefox network partitioning

Network partitioning is a method used by Firefox to enhance user privacy. When enabled, each website you visit has its own isolated storage location, preventing it from accessing data from another website. This limits the ability of websites to track users across multiple sites. Network Partitioning, formerly referred to as cache partitioning, is a subset of state partitioning. While state partitioning deals with data like cookies, network partitioning deals with networking-related components,...

Disable outdated Firefox First-Party Isolation (FPI)

First-party isolation (FPI) helps in preventing third parties from tracking users across multiple websites. This is sometimes referred to as "double keying" (double-keying) or supercookies. This script disables FPI in favor of a newer technology called dynamic First-Party Isolation (dFPI) for the following reasons: 1. FPI and dFPI conflict with each other, and they cannot function simultaneously. Additionally, Mozilla doesn't plan to make them compatible. 2. FPI has been marked as deprecated and...

Explore Categories

This action belongs to Harden Firefox privacy category. The following are privacy-focused tweaks to prevent browser fingerprinting and tracking. See also: What is browser fingerprinting? | AmIUnique.org Read more on category page ▶

Support

This website relies on your support.

Support now

Your donation helps keep the project alive and improves its content ❤️.

Share this page: