mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	2402: potential clipboard leak fixed in FF89+
Thanks @gwarser for testing, creating the bugzilla, being patient, and confirming the fix
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							ca99add006
						
					
				
				
					commit
					728c962684
				
			
							
								
								
									
										4
									
								
								user.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								user.js
									
									
									
									
									
								
							@@ -1023,8 +1023,8 @@ user_pref("_user.js.parrot", "2400 syntax error: the parrot's kicked the bucket!
 | 
				
			|||||||
/* 2402: disable website access to clipboard events/content [SETUP-HARDEN]
 | 
					/* 2402: disable website access to clipboard events/content [SETUP-HARDEN]
 | 
				
			||||||
 * [NOTE] This will break some sites' functionality e.g. Outlook, Twitter, Facebook, Wordpress
 | 
					 * [NOTE] This will break some sites' functionality e.g. Outlook, Twitter, Facebook, Wordpress
 | 
				
			||||||
 * This applies to onCut/onCopy/onPaste events - i.e. it requires interaction with the website
 | 
					 * This applies to onCut/onCopy/onPaste events - i.e. it requires interaction with the website
 | 
				
			||||||
 * [WARNING] If both 'middlemouse.paste' and 'general.autoScroll' are true (at least one
 | 
					 * [WARNING] In FF88 or lower, with clipboardevents enabled, if both 'middlemouse.paste' and
 | 
				
			||||||
 * is default false) then enabling this pref can leak clipboard content [1]
 | 
					 * 'general.autoScroll' are true (at least one is default false) then the clipboard can leak [1]
 | 
				
			||||||
 * [1] https://bugzilla.mozilla.org/1528289 ***/
 | 
					 * [1] https://bugzilla.mozilla.org/1528289 ***/
 | 
				
			||||||
   // user_pref("dom.event.clipboardevents.enabled", false);
 | 
					   // user_pref("dom.event.clipboardevents.enabled", false);
 | 
				
			||||||
/* 2404: disable clipboard commands (cut/copy) from "non-privileged" content [FF41+]
 | 
					/* 2404: disable clipboard commands (cut/copy) from "non-privileged" content [FF41+]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user