3 <title>Web app banner test page
</title>
4 <link rel=
"manifest" href=
"manifest.json" />
5 <script src=
"main.js"></script>
7 window
.addEventListener('beforeinstallprompt', function(e
) {
8 console
.log('Preventing banner from appearing');
11 // Navigate the window to trigger the banner cancellation.
12 window
.location
.href
= "/";
16 <body onload=
"initialize()">Cancels the banner.
</body>