{"json_modified": "2016-08-24T04:06:56.068058", "uuid": "bcdb93c9-c379-428f-bf95-0e426c106ed9", "title": "ServiceWorkerContainer.controller", "url": "/en-US/docs/Web/API/ServiceWorkerContainer/controller", "tags": ["API", "ServiceWorker", "Reference", "Property", "Controller", "ServiceWorkerController", "Service Workers"], "translations": [], "modified": "2016-08-24T04:06:56", "label": "ServiceWorkerContainer.controller", "localization_tags": [], "locale": "en-US", "id": 135037, "last_edit": "2016-08-24T04:06:50", "summary": "The controller
read-only property of the ServiceWorkerContainer
interface returns a ServiceWorker
object if its state is activated
(the same object returned by ServiceWorkerRegistration.active
). This property returns null
if the request is a force refresh (Shift + refresh) or if there is no active worker.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}], "slug": "Web/API/ServiceWorkerContainer/controller", "review_tags": ["technical"]}