···3636 navigator.serviceWorker.register("service-worker.js").then(
3737 initialise,
3838 err => {
3939+ const isFirefox = navigator.userAgent.toLowerCase().includes("firefox")
4040+3941 console.error(err)
4042 return failure(
4141- location.protocol === "https:"
4242- ? "Failed to start the service worker."
4343+ location.protocol === "https:" || location.hostname === "localhost"
4444+ ? "Failed to start the service worker." + (isFirefox ? " Make sure the setting <strong>Delete cookies and site data when Firefox is closed</strong> is off, or Diffuse's domain is added as an exception." : "")
4345 : "Failed to start the service worker, try using HTTPS."
4446 )
4547 }
···100102 <img src="../images/diffuse-light.svg" />
101103 </a>
102104103103- <p class="opacity-60">
105105+ <p class="max-w-sm opacity-60">
104106 ${text}
105107 </p>
106108 `