mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
6 lines
243 B
HTML
6 lines
243 B
HTML
<link rel="stylesheet" href="./style.css">
|
|
<script>
|
|
window.registrationPromise = navigator.serviceWorker.register('sw.js');
|
|
window.activationPromise = new Promise(resolve => navigator.serviceWorker.oncontrollerchange = resolve);
|
|
</script>
|