Enable and test fingerprinting and cryptomining protections in Firefox browser

Firefox Nightly 67 gained two new privacy protections in February 2019: blocking known fingerprinting scripts and known cryptomining scripts. Fingerprinters build a profile of your browser and device to track you without cookies. Cryptominers use your computer’s CPU to mine cryptocurrency, which slows the PC and drains the battery. Mozilla built both blocklists with Disconnect, the same partner behind Firefox’s tracking protection list. The new options landed in Nightly on February 12, 2019, and were turned off by default at first.

Why block them

Mozilla’s April 2019 post explained both threats. Fingerprinting scripts collect details about your browser and device to identify you across sites, even when you clear cookies. Cryptomining scripts run in the background and use your CPU to mine cryptocurrency, which slows the computer and can raise your electricity bill. Neither asks for permission.

Enable the protections through about:config

In early Nightly builds the options were hidden. Mozilla’s own QA steps (Bug 1527891) turned them on by setting four preferences to true:

  1. Type about:config in the address bar and accept the warning.
  2. Set privacy.trackingprotection.cryptomining.enabled to true.
  3. Set privacy.trackingprotection.fingerprinting.enabled to true.
  4. Set browser.contentblocking.cryptomining.preferences.ui.enabled to true.
  5. Set browser.contentblocking.fingerprinting.preferences.ui.enabled to true.

The last two make the new checkboxes appear in Firefox’s privacy settings. Mozilla’s bug for showing them in about:preferences was fixed for Firefox 67 on February 19, 2019. New to these settings? Our about:config guide explains how to search for and toggle preferences.

Enable them from the settings page

Once the options are visible, Mozilla’s steps are:

  1. Open the Firefox menu and choose Preferences (now Settings).
  2. Click the Privacy & Security tab.
  3. Under Content Blocking, click Custom.
  4. Check Cryptominers and Fingerprinters so both are blocked.
Enable and test fingerprinting and cryptomining protections in Firefox browser
Mozilla’s steps: choose Custom under Content Blocking, then tick Cryptominers and Fingerprinters. Source: Mozilla

Test that blocking works

Mozilla’s testers used a test page that loads known fingerprinting and cryptomining scripts. To check your own setup:

  1. Open a page that is known to load fingerprinting or cryptomining scripts. Mozilla’s QA used a dedicated test page for this.
  2. Click the shield icon on the left of the address bar.
  3. Look for Fingerprinters and Cryptominers in the panel. When they are blocked, Firefox lists them with a “Blocking” status.
  4. Untick the options in settings, reload the page and check the panel again to compare.

Mozilla warned in its March 2019 Nightly update that the feature was “still experimental” and “might break some sites”. If a site breaks, click the shield and choose Report a Problem, or turn protection off for that site.

Today: on by default

Mozilla made both protections available in Beta 67 and Nightly 68 in April 2019. Firefox 68 then added them to the Strict content blocking setting. Current Firefox goes further: Enhanced Tracking Protection in Standard mode blocks cryptominers and fingerprinters on all sites by default, along with social media trackers and cross-site tracking cookies.

Firefox cryptomining and fingerprinting protections added to strict content blocking in Firefox 68
The Firefox 68 release notes: cryptomining and fingerprinting protections join strict content blocking. Source: Mozilla

For the rest of your PC’s security, see these ways to protect a Windows computer from viruses.

Venkat Eswarlu

Venkat is an independent technology journalist and the founder of Techdows. He has been covering web browsers, Windows, and software news since 2009. His exclusive scoops on Chrome, Firefox, and Edge features have been cited by Forbes, TechCrunch, Wired, CNET, and other major publications.