To enable Fingerprinting Protection in Firefox, go to about:config and set privacy.resistFingerprinting to true.
Some Firefox forks enable Fingerprinting Protection by default, including LibreWolf[3] (desktop) and Mull[4] (Android). If you are on Android, the release version of Firefox does not include access to about:config, and you'll need to either switch to Firefox Beta/Nightly or use a fork like Mull, Fennec F-Droid, or Iceraven to take advantage of this feature.
[1] https://wiki.mozilla.org/Security/Tor_Uplift
[2] https://support.mozilla.org/en-US/kb/firefox-protection-agai...