mirror of
				https://codeberg.org/claui/mobile-config-firefox.git
				synced 2025-11-03 20:15:56 +00:00 
			
		
		
		
	mobile-config-prefs.js: enable TouchEvents API for mobile detection (MR 29)
This commit is contained in:
		
							parent
							
								
									02df05f8e9
								
							
						
					
					
						commit
						8e59b386e3
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -11,6 +11,10 @@ pref('dom.w3c.touch_events.enabled', true);
 | 
			
		|||
pref('apz.allow_zooming', true);
 | 
			
		||||
pref('apz.allow_double_tap_zooming', true);
 | 
			
		||||
 | 
			
		||||
// Enable legacy touch event APIs, as some websites use this to check for mobile compatibility
 | 
			
		||||
// and Firefox on Android behaves the same way
 | 
			
		||||
pref('dom.w3c_touch_events.legacy_apis.enabled', true);
 | 
			
		||||
 | 
			
		||||
// Save vertical space by hiding the titlebar
 | 
			
		||||
pref('browser.tabs.inTitlebar', 1);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue