/* Tracking protection */ /* Don't notify servers when I leave a webpage. * * References: * * 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1387745 * */ user_pref("beacon.enabled", false); /* Don't let websites query the battery status of my PC. * This should now be disabled... but let's turn it off * again, just in case. * * References: * * 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1387745 * 2. https://bugzilla.mozilla.org/show_bug.cgi?id=1313580 * 3. https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks */ user_pref("dom.battery.enabled", false); /* Don't allow websites to spy on my copy/paste actions. * * References: * * 1. https://bugzilla.mozilla.org/show_bug.cgi?id=1387745 * 2. https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/dom.event.clipboardevents.enabled * 3. https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks */ user_pref("dom.event.clipboardevents.enabled", false); /* Disable WebRTC. I don't need a web browser to chat, thanks. * * References: * * 1. https://restoreprivacy.com/webrtc-leaks/ * 2. https://wiki.mozilla.org/Media/WebRTC/Privacy */ user_pref("media.peerconnection.enabled", false); /* Don't allow websites to snoop on my webcam or microphone. * * References: * * 1. https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks * 2. https://wiki.mozilla.org/Media/getUserMedia */ user_pref("media.navigator.enabled", false); /* Disable geolocation. Websites shouldn't know where I am, * and neither should Google (whose API is used to track me). * * References: * * 1. http://www.mozilla.com/en-US/firefox/geolocation/ * 2. https://wiki.mozilla.org/Privacy/Privacy_Task_Force/firefox_about_config_privacy_tweeks * */ user_pref("geo.enabled", false); /* Disable WebGL. I actually don't need websites to be able to * directly access my video hardware. * * References: * * 1. https://www.contextis.com/en/blog/webgl-a-new-dimension-for-browser-exploitation * */ user_pref("webgl.disabled", true);