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:
File Manager and Cloud Storage is a self-hosted documents and folders cloud storage and sharing platform for managing and sharing data without requiring coding knowledge. Upload multiple files and fol...
Drag and Drop Newsletter Builder is a pure JavaScript script designed for creating newsletters with a modern interface. Modern UI elements with specific editing options and HTML editing capabilities F...
SmartyPaste App is a multiplatform clipboard manager script designed to store everything you copy and maintain a smooth, interruption-free workflow.Runs in the background without requiring active part...