3 <title>Web app banner test page
</title>
4 <link rel=
"manifest" href=
"manifest.json" />
5 <script src=
"main.js"></script>
7 function callPrompt(event
) {
8 console
.log('Re-prompt banner');
12 window
.addEventListener('beforeinstallprompt', function(e
) {
13 console
.log('Preventing banner from appearing');
16 setTimeout(callPrompt
, 0, e
);
21 <body onload=
"initialize()">Cancels the banner, then prompts for it to be shown later.
</body>