Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.378 kb
<!DOCTYPE html>
<html>
<head>
<title>Demo</title>
</head>
<body>
<form id="install">
<button style="height:100px; width:100px; font-size:34px;">Install</button>
</form>
<script>
function install(){
navigator.mozApps.install("http://localhost/fxDemo/manifest.webapp");
return false;
}
document.getElementById("install").onsubmit = install;
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.