Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Removing Service Workers Programmatically

navigator.serviceWorker.getRegistrations().then(function(registrations) {
 for(let registration of registrations) {
  registration.unregister()
} })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Removing #Service #Workers #Programmatically
ADD COMMENT
Topic
Name
8+7 =