Detecting Mozilla App Install Capabilities with JavaScript

Feature detection is the best way to discover if the user’s browser can install Mozilla Marketplace applications:

var canInstallMozApp = !!(navigator.mozApps && navigator.mozApps.install);


Share this snippet


Leave a Reply

Your email address will not be published. Required fields are marked *

Please respect the following rules: No advertising, no spam, no keyword in name field. Thank you!