pwa testing
This commit is contained in:
parent
f6368d6a34
commit
017375e85d
|
|
@ -117,6 +117,12 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
let deferredPrompt;
|
||||||
|
window.addEventListener('beforeinstallprompt', (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
deferredPrompt = e;
|
||||||
|
//showInAppInstallPromotion();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -10928,7 +10934,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
|
||||||
<div id="categoryControls"></div>
|
<div id="categoryControls"></div>
|
||||||
<div id="elementControls"></div>
|
<div id="elementControls"></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="extraInfo"><small><a href="controls.txt" target="_blank">Controls</a> • <a href="changelog.txt" target="_blank">Changelog</a> • <a href="https://docs.google.com/document/d/1R8xljj_J-K5oU-9y4louwplQmM-ZBvUfXmhbgj5LYdk/edit?usp=sharing" target="_blank">Feedback</a> • <a href="https://discord.gg/ejUc6YPQuS" target="_blank" style="text-shadow: 0px 2px 10px #FF00FF;">Discord</a></small></div>
|
<div id="extraInfo"><small><a href="controls.txt" target="_blank">Controls</a> • <a href="changelog.txt" target="_blank">Changelog</a> • <a href="https://docs.google.com/document/d/1R8xljj_J-K5oU-9y4louwplQmM-ZBvUfXmhbgj5LYdk/edit?usp=sharing" target="_blank">Feedback</a> • <a href="https://discord.gg/ejUc6YPQuS" target="_blank" style="text-shadow: 0px 2px 10px #FF00FF;">Discord</a> • <a onclick="deferredPrompt.prompt(); return false" style="text-shadow: 0px 2px 10px #FF00FF; cursor:pointer">Install Offline</a></small></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="infoParent">
|
<div id="infoParent">
|
||||||
<div id="infoScreen"> <!--Element Info Page-->
|
<div id="infoScreen"> <!--Element Info Page-->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue