summaryrefslogtreecommitdiff
path: root/toolkit/mozapps/extensions/test/browser/discovery_install.html
blob: 3832adff640c2dca406ca861d929e82183651e11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<script type="text/javascript">
function install() {
  InstallTrigger.install({
    "Test Add-on": {
      URL: "https://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi"
    }
  });
}
</script>
</head>
<body>
  <h1>Test page for the discovery pane</h1>
  <p><a id="install-direct" href="https://example.com/browser/toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi">Direct install</a></p>
  <p><a id="install-js" href="javascript:install()">JS install</a></p>
</body>
</html>