mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	1803: flash/java/npapi fixes #433
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							3a77e18ae8
						
					
				
				
					commit
					d6a7531c67
				
			
							
								
								
									
										8
									
								
								user.js
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								user.js
									
									
									
									
									
								
							@@ -968,11 +968,13 @@ user_pref("plugin.defaultXpi.state", 0);
 | 
			
		||||
/* 1802: enable click to play and set to 0 minutes ***/
 | 
			
		||||
user_pref("plugins.click_to_play", true);
 | 
			
		||||
user_pref("plugin.sessionPermissionNow.intervalInMinutes", 0);
 | 
			
		||||
/* 1803: set a plugin state: 0=deactivated 1=ask 2=enabled (Flash example)
 | 
			
		||||
 * you can set all these plugin.state's via Add-ons>Plugins or search for plugin.state in about:config
 | 
			
		||||
/* 1803: disable Flash, Java and other NPAPI plugins (Add-ons>Plugins)
 | 
			
		||||
 * 0=deactivated, 1=ask, 2=enabled
 | 
			
		||||
 * ESR52.x is the last branch to *fully* support NPAPI, FF52+ stable only supports Flash
 | 
			
		||||
 * [NOTE] You can still over-ride individual sites e.g. youtube via site permissions
 | 
			
		||||
 * [1] https://www.ghacks.net/2013/07/09/how-to-make-sure-that-a-firefox-plugin-never-activates-again/ ***/
 | 
			
		||||
   // user_pref("plugin.state.flash", 0);
 | 
			
		||||
user_pref("plugin.state.flash", 0);
 | 
			
		||||
user_pref("plugin.state.java", 0); // check plugin.state* for other NPAPIs
 | 
			
		||||
/* 1805: disable scanning for plugins [WINDOWS]
 | 
			
		||||
 * [1] http://kb.mozillazine.org/Plugin_scanning
 | 
			
		||||
 * plid.all = whether to scan the directories specified in the Windows registry for PLIDs.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user