The HTML/Javascript polyfill implementation of the navigator.mozApps API
JavaScript Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
jsapi
tests
.gitignore
.gitmodules
README.md

README.md

mozapps-polyfill

Mozilla Open Web Applications provide a navigator.mozApps API (documented here).

This API is provided Natively in Firefox 14+, but this polyfill offers the basic features of the API in earlier versions and other browsers.

The libraries here are published at https://apps.persona.org and they should be used only at that domain (except for testing and development of course). You should include:

<script src="https://apps.persona.org/include.js"></script>

in your page. If the browser already natively supports navigator.mozApps this include will do nothing, but if not it will patch in this support.