v1.0
LaunchPrompt is a lightweight JavaScript plugin for adding a polished and customizable installation prompt to an existing Progressive Web App.
On supported browsers, LaunchPrompt captures the native beforeinstallprompt event and lets you present your own branded install banner before opening the browser's real PWA installation dialog.
It also includes optional iPhone/iPad Add to Home Screen instructions for platforms where beforeinstallprompt is not available.
Main features:
• Native beforeinstallprompt event support
• Custom install banner
• Top or bottom position
• Light and dark themes
• Custom accent color
• Custom app name
• Optional custom app icon
• Custom headline and description
• Custom Install and Dismiss button labels
• Automatic or manual trigger
• Configurable display delay
• Dismissal cooldown
• localStorage-based dismissal state
• appinstalled event handling
• iPhone/iPad Add to Home Screen instructions
• Responsive mobile-friendly layout
• Public JavaScript API
• Event callbacks
• Local demo mode
• Example PWA manifest
• Example service worker
• Example 192px and 512px icons
• No external API
• No JavaScript framework
• No paid service required
Public API:
LaunchPrompt.init(options)
LaunchPrompt.show()
LaunchPrompt.hide()
LaunchPrompt.install()
LaunchPrompt.resetDismissal()
LaunchPrompt.getStatus()
Important:
LaunchPrompt is an install-prompt helper. It does not automatically convert a normal website into an installable PWA.
For a real native browser installation prompt, the target website must satisfy the browser's PWA installability requirements, normally including HTTPS and a valid PWA setup.
The package includes the reusable plugin, documentation, a standalone demo and example PWA files.
Published:
06 Aug, 2026
Version:
1.0
Category:
Files Included:
Rest POS Win - Restaurant POS Win - RPW is a C#-based desktop application script designed for restaurant management and multiple PC connectivity. Supports multiple PC connection with LAN or cloud serv...
Installer for Laravel Application is an eloquent Laravel script designed to simplify application setup for developers and sellers. Makes Laravel application installation easy as a breeze Handles .env...
eCommerce MVC is an extendable and adaptable online shopping website project developed with the C# ASP .NET MVC framework for developers building web stores.Includes all features required for a fully...