{"json_modified": "2016-04-25T14:47:38.004333", "uuid": "29c62212-8c7b-43a3-be6b-f18572988392", "title": "ServiceWorkerGlobalScope.onactivate", "url": "/en-US/docs/Web/API/ServiceWorkerGlobalScope/onactivate", "tags": ["Property", "ServiceWorker", "Workers", "Service", "Reference", "API", "onactivate", "ServiceWorkerGlobalScope"], "translations": [], "modified": "2016-04-25T14:47:38", "label": "ServiceWorkerGlobalScope.onactivate", "localization_tags": [], "locale": "en-US", "id": 145399, "last_edit": "2016-04-25T14:47:34", "summary": "The onactivate property of the ServiceWorkerGlobalScope
interface is an event handler fired whenever an activate
event occurs (when the service worker activates). This happens after installation, when the page to\u00a0be controlled by the service worker refreshes.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/ServiceWorkerGlobalScope/onactivate", "review_tags": ["technical"]}