window.onload = () => { const instruction = document.createElement("div"); instruction.innerHTML = `

Instructions

  1. Install id-member-manifest-update-manual.html as a PWA
  2. Launch the app from OS. The page should be launched to start_url v1.
  3. Close the app window.
  4. Trigger a manifest update event.

    This step is specific to each browser implementation. On Chrome, trigger the update by restarting the browser through chrome://restart.

  5. Launch the app from OS again, start_url should be updated to v2.
`; document.body.appendChild(instruction); }; async function main() { await navigator.serviceWorker.register("id-member-service-worker.js"); await navigator.serviceWorker.ready; } main();