Skip to content

Instantly share code, notes, and snippets.

@quangnd-pgvn
Created October 11, 2017 02:20
Show Gist options
  • Save quangnd-pgvn/90601291a846e67d90831ee4ef587efb to your computer and use it in GitHub Desktop.
Save quangnd-pgvn/90601291a846e67d90831ee4ef587efb to your computer and use it in GitHub Desktop.
Disable warning service-worker + Bad HTTP Response
Run in console
```
navigator.serviceWorker.getRegistrations().then(function(registrations) { for(let registration of registrations) { registration.unregister() } })
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment