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

20 lines (15 sloc) 0.443 kb
<script>
function install() {
var r = navigator.mozApps.install('http://areatweet.com/app.manifest');
console.warn(r);
r.onsuccess = function () {
// Save the App object that is returned
var appRecord = this.result;
alert('Installation successful!')
};
r.onerror = function () {
alert('Install failed, error: ' + this.error.name);
};
}
</script>
<a href="javascript:;" onclick="install();">Install</a>
Jump to Line
Something went wrong with that request. Please try again.