mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-04 07:45:26 +01:00 
			
		
		
		
	2706 browser.storageManager.enabled added
its added as default false, but looks like we'll need to check out what options the two prefs (dom from 51 and browser from 53) when true show in the options UI
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							37b8ad66b8
						
					
				
				
					commit
					5cf2de570a
				
			
							
								
								
									
										8
									
								
								user.js
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								user.js
									
									
									
									
									
								
							@@ -1346,13 +1346,15 @@ user_pref("network.cookie.thirdparty.sessionOnly", true);
 | 
				
			|||||||
 * [WARNING] this will break a LOT of sites' functionality.
 | 
					 * [WARNING] this will break a LOT of sites' functionality.
 | 
				
			||||||
 * You are better off using an extension for more granular control ***/
 | 
					 * You are better off using an extension for more granular control ***/
 | 
				
			||||||
   // user_pref("dom.storage.enabled", false);
 | 
					   // user_pref("dom.storage.enabled", false);
 | 
				
			||||||
/* 2706: disable Storage API (FF51+)
 | 
					/* 2706: disable Storage API
 | 
				
			||||||
 * The API gives sites the ability to find out how much space they can use, how much
 | 
					 * The API gives sites the ability to find out how much space they can use, how much
 | 
				
			||||||
 * they are already using, and even control whether or not they need to be alerted
 | 
					 * they are already using, and even control whether or not they need to be alerted
 | 
				
			||||||
 * before the user agent disposes of site data in order to make room for other things.
 | 
					 * before the user agent disposes of site data in order to make room for other things.
 | 
				
			||||||
 * [1] https://developer.mozilla.org/en-US/docs/Web/API/StorageManager
 | 
					 * [1] https://developer.mozilla.org/en-US/docs/Web/API/StorageManager
 | 
				
			||||||
 * [2] https://developer.mozilla.org/en-US/docs/Web/API/Storage_API ***/
 | 
					 * [2] https://developer.mozilla.org/en-US/docs/Web/API/Storage_API
 | 
				
			||||||
user_pref("dom.storageManager.enabled", false);
 | 
					 * [3] https://blog.mozilla.org/l10n/2017/03/07/firefox-l10n-report-aurora-54/ ***/
 | 
				
			||||||
 | 
					user_pref("dom.storageManager.enabled", false); // (FF51+)
 | 
				
			||||||
 | 
					user_pref("browser.storageManager.enabled", false); // (FF53+)
 | 
				
			||||||
/* 2707: clear localStorage and UUID when a WebExtension is uninstalled
 | 
					/* 2707: clear localStorage and UUID when a WebExtension is uninstalled
 | 
				
			||||||
 * [NOTE] both preferences must be the same
 | 
					 * [NOTE] both preferences must be the same
 | 
				
			||||||
 * [1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/local
 | 
					 * [1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/storage/local
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user