mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	2030: default didn't change
not putting the setup-web tag back in, as users now have site exceptions
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							0354895a2e
						
					
				
				
					commit
					3c4b312cc7
				
			
							
								
								
									
										5
									
								
								user.js
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								user.js
									
									
									
									
									
								
							@@ -1079,9 +1079,10 @@ user_pref("dom.imagecapture.enabled", false); // [DEFAULT: false]
 | 
			
		||||
 * [1] https://developer.mozilla.org/docs/Web/API/OffscreenCanvas ***/
 | 
			
		||||
user_pref("gfx.offscreencanvas.enabled", false); // [DEFAULT: false]
 | 
			
		||||
/* 2030: disable autoplay of HTML5 media [FF63+]
 | 
			
		||||
 * 0=Allowed, 1=Blocked, 2=Prompt
 | 
			
		||||
 * 0=Allowed (default), 1=Blocked, 2=Prompt
 | 
			
		||||
 * [NOTE] You can set exceptions under site permissions
 | 
			
		||||
 * [SETTING] Privacy & Security>Permissions>Block websites from automatically playing sound ***/
 | 
			
		||||
user_pref("media.autoplay.default", 1); // [DEFAULT: 1 in FF66+]
 | 
			
		||||
user_pref("media.autoplay.default", 1);
 | 
			
		||||
/* 2031: disable audio autoplay in non-active tabs [FF51+]
 | 
			
		||||
 * [1] https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/ ***/
 | 
			
		||||
user_pref("media.block-autoplay-until-in-foreground", true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user