Web App Manifest & Installability
Web App Manifests transform websites into installable desktop and mobile applications. By configuring icons, display settings, and capturing install prompts, developers build native-feeling web apps.
Knowledge Check
2 questions · pass at 70%
1. Which `display` configuration value removes the browser address bar and navigation controls, making the app look like a native device application?
Interview Questions
1 questionsCheatsheet
Download-ready referenceWeb App Manifest JSON configuration linking web features to app containers.
beforeinstallprompt Event fired by browsers when install criteria are met.
standalone Display mode hiding browser address and navigation bars.
maskable icon Icon with safe margins suitable for OS cropping.
Manifest HTML link:
<link rel="manifest" href="/manifest.json">
Custom Prompt trigger:
window.addEventListener('beforeinstallprompt', (e) => {
e.preventDefault();
myInstallBtn.style.display = 'block';
myInstallBtn.onclick = () => e.prompt();
});