<install> ElementThe <install> element is a declarative HTML element that allows web developers
to offer installation of web applications directly from a page. It renders a
user-agent-controlled button whose text and iconography are determined by the
browser, providing a strong signal of user intent and protection against spoofing.
The element is part of the Permission Element
family, sharing the same security model, styling restrictions, and validation
infrastructure.
The <install> element is one of two entry points to web app installation
initiated by a website. The other is the Web Install API - navigator.install() -
which provides a promise-based JavaScript entry point. Both share a single backend
implementation — manifest fetch, validation, consent UI, and error taxonomy.
There are currently two explainers for the <install> element that reflect two
different methods of specifying which web app to install. One accepts an
installurl, and the other accepts a manifest URL.
installurl / manifestid)Here for Origin Trials? Use this explainer.
installurl (a page URL) and manifestid (the app's computed manifest id).installurl in
the background, discovers its <link rel="manifest">, fetches and validates
the manifest, then presents the installation dialog.manifest / id)manifest (a manifest URL) and id (the app's computed manifest id).This proposal builds on the Permission Element (PEPC) infrastructure and the Web Install API.
Many thanks for valuable feedback and advice from:
JavaScript
57.3%
HTML
42.7%
<install> ElementThe <install> element is a declarative HTML element that allows web developers
to offer installation of web applications directly from a page. It renders a
user-agent-controlled button whose text and iconography are determined by the
browser, providing a strong signal of user intent and protection against spoofing.
The element is part of the Permission Element
family, sharing the same security model, styling restrictions, and validation
infrastructure.
The <install> element is one of two entry points to web app installation
initiated by a website. The other is the Web Install API - navigator.install() -
which provides a promise-based JavaScript entry point. Both share a single backend
implementation — manifest fetch, validation, consent UI, and error taxonomy.
There are currently two explainers for the <install> element that reflect two
different methods of specifying which web app to install. One accepts an
installurl, and the other accepts a manifest URL.
installurl / manifestid)Here for Origin Trials? Use this explainer.
installurl (a page URL) and manifestid (the app's computed manifest id).installurl in
the background, discovers its <link rel="manifest">, fetches and validates
the manifest, then presents the installation dialog.manifest / id)manifest (a manifest URL) and id (the app's computed manifest id).This proposal builds on the Permission Element (PEPC) infrastructure and the Web Install API.
Many thanks for valuable feedback and advice from:
JavaScript
57.3%
HTML
42.7%