This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (18 sloc) 378 Bytes
<!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>