Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<script type="text/javascript">
function installMozAM(url) {
return navigator.mozAddonManager.createInstall({url})
.then(install => install.install());
}
function installTrigger(url) {
InstallTrigger.install({extension: url});
}
</script>
</body>
</html>