Skip to content

PWA Install Embed Script

Enable smart app-install prompts on your website. This embeddable script detects Progressive Web App capability and presents visitors with a clean, device-aware installation assistant.

Free to use · Publicly embeddable · No account required


Universal Embed Code

Copy and paste the script below before the closing </body> tag of your website.

<script src="https://embed-script.online/js/pwa.js" async></script>
  

Live Demo

This page is currently running the PWA Install Embed Script. If your device and browser support Progressive Web App installation, the assistant will appear automatically.


Optional Customization

You may customize the banner text, styling, and behavior using data attributes.

<script src="https://embed-script.online/js/pwa.js"
data-title="Install our app"
data-message="Use this website like an app."
data-button="Install now"
data-theme="light"
data-position="top"
data-delay="5000"
data-show-once="true"
data-promo="false"
async></script>
  

Available Attributes

Attribute Function
data-title Banner title text
data-message Subtitle message
data-button Install button label
data-delay Delay before showing (ms)
data-position top / bottom
data-theme dark / light
data-show-once Show once per visitor
data-promo Show or hide branding footer

About This Script

The PWA Install Embed Script is part of the EmbedScript Online collection — a curated library of embeddable web tools and experimental utilities.

It provides a simple, universal way to promote Progressive Web App installation without requiring complex development work.


Branding & Attribution

By default, the installation assistant includes a small promotional footer referencing:

  • embed-script.online
  • Jansma VIP

This attribution supports visibility and continued experimentation of the platform.

Branding may be disabled using:

data-promo="false"
  

PWA Requirements

  • Valid manifest.json
  • Registered service worker
  • HTTPS hosting
  • App icons

If these are not detected, fallback installation instructions will be shown instead.


Disclaimer

This script is provided as part of the EmbedScript Online experimental tool collection. All scripts are offered free of charge and “as-is,” without guarantees of uptime, compatibility, updates, or support.

By embedding or using this script, you acknowledge that usage is entirely at your own discretion and risk.


Support This Project

If you find this tool useful, you can support ongoing development and experimentation.

Buy Me A Coffee