mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-04 07:45:26 +01:00 
			
		
		
		
	v110 (#1629)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							ca022d8c2d
						
					
				
				
					commit
					d13f39d9f9
				
			
							
								
								
									
										22
									
								
								user.js
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								user.js
									
									
									
									
									
								
							@@ -1,7 +1,7 @@
 | 
			
		||||
/******
 | 
			
		||||
*    name: arkenfox user.js
 | 
			
		||||
*    date: 7 February 2023
 | 
			
		||||
* version: 109
 | 
			
		||||
*    date: 12 March 2023
 | 
			
		||||
* version: 110
 | 
			
		||||
*     url: https://github.com/arkenfox/user.js
 | 
			
		||||
* license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt
 | 
			
		||||
 | 
			
		||||
@@ -557,13 +557,6 @@ user_pref("privacy.userContext.ui.enabled", true);
 | 
			
		||||
 | 
			
		||||
/*** [SECTION 2000]: PLUGINS / MEDIA / WEBRTC ***/
 | 
			
		||||
user_pref("_user.js.parrot", "2000 syntax error: the parrot's snuffed it!");
 | 
			
		||||
/* 2001: disable WebRTC (Web Real-Time Communication)
 | 
			
		||||
 * Firefox desktop uses mDNS hostname obfuscation and the private IP is never exposed until
 | 
			
		||||
 * required in TRUSTED scenarios; i.e. after you grant device (microphone or camera) access
 | 
			
		||||
 * [TEST] https://browserleaks.com/webrtc
 | 
			
		||||
 * [1] https://groups.google.com/g/discuss-webrtc/c/6stQXi72BEU/m/2FwZd24UAQAJ
 | 
			
		||||
 * [2] https://datatracker.ietf.org/doc/html/draft-ietf-mmusic-mdns-ice-candidates#section-3.1.1 ***/
 | 
			
		||||
   // user_pref("media.peerconnection.enabled", false);
 | 
			
		||||
/* 2002: force WebRTC inside the proxy [FF70+] ***/
 | 
			
		||||
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
 | 
			
		||||
/* 2003: force a single network interface for ICE candidates generation [FF42+]
 | 
			
		||||
@@ -954,9 +947,9 @@ user_pref("_user.js.parrot", "5000 syntax error: the parrot's taken 'is last bow
 | 
			
		||||
   // user_pref("extensions.formautofill.addresses.enabled", false); // [FF55+]
 | 
			
		||||
   // user_pref("extensions.formautofill.creditCards.enabled", false); // [FF56+]
 | 
			
		||||
   // user_pref("extensions.formautofill.heuristics.enabled", false); // [FF55+]
 | 
			
		||||
/* 5017: limit events that can cause a pop-up ***/
 | 
			
		||||
/* 5018: limit events that can cause a pop-up ***/
 | 
			
		||||
   // user_pref("dom.popup_allowed_events", "click dblclick mousedown pointerdown");
 | 
			
		||||
/* 5018: disable page thumbnail collection ***/
 | 
			
		||||
/* 5019: disable page thumbnail collection ***/
 | 
			
		||||
   // user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF]
 | 
			
		||||
 | 
			
		||||
/*** [SECTION 5500]: OPTIONAL HARDENING
 | 
			
		||||
@@ -1143,6 +1136,13 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
 | 
			
		||||
 * [NOTE] To remove all subscriptions, reset "dom.push.userAgentID"
 | 
			
		||||
 * [1] https://support.mozilla.org/kb/push-notifications-firefox ***/
 | 
			
		||||
   // user_pref("dom.push.enabled", false);
 | 
			
		||||
/* 7020: disable WebRTC (Web Real-Time Communication)
 | 
			
		||||
 * [WHY] Firefox desktop uses mDNS hostname obfuscation and the private IP is never exposed until
 | 
			
		||||
 * required in TRUSTED scenarios; i.e. after you grant device (microphone or camera) access
 | 
			
		||||
 * [TEST] https://browserleaks.com/webrtc
 | 
			
		||||
 * [1] https://groups.google.com/g/discuss-webrtc/c/6stQXi72BEU/m/2FwZd24UAQAJ
 | 
			
		||||
 * [2] https://datatracker.ietf.org/doc/html/draft-ietf-mmusic-mdns-ice-candidates#section-3.1.1 ***/
 | 
			
		||||
   // user_pref("media.peerconnection.enabled", false);
 | 
			
		||||
 | 
			
		||||
/*** [SECTION 8000]: DON'T BOTHER: FINGERPRINTING
 | 
			
		||||
   [WHY] They are insufficient to help anti-fingerprinting and do more harm than good
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user