• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. ServiceWorkerGlobalScope
  4. ServiceWorkerGlobalScope.clients
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility
  • See also

ServiceWorkerGlobalScope.clients

The clients read-only property of the ServiceWorkerGlobalScope interface returns the Clients object associated with the service worker.

Value

The Clients object associated with the specific worker.

Specifications

Specification
Service Workers 1
# service-worker-global-scope-clients

Browser compatibility

BCD tables only load in the browser

See also

  • Using Service Workers
  • Service workers basic code example
  • Is ServiceWorker ready?
  • Promise
  • Using web workers

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 1, 2022, by MDN contributors

Change your language

Related Topics

  1. Service Worker API
  2. ServiceWorkerGlobalScope
  3. Properties
    1. clients
    2. registration
    3. ServiceWorkerGlobalScope: fetch event
  4. Methods
    1. skipWaiting()
  5. Events
    1. activate
    2. contentdelete
    3. install
    4. message
    5. notificationclick
    6. notificationclose
    7. push
    8. pushsubscriptionchange
  6. Inheritance:
    1. WorkerGlobalScope
    2. EventTarget
  7. Related pages for Service Workers API
    1. Cache
    2. CacheStorage
    3. Client
    4. Clients
    5. ExtendableEvent
    6. FetchEvent
    7. InstallEvent
    8. Navigator.serviceWorker
    9. NotificationEvent
    10. PeriodicSyncEvent
    11. PeriodicSyncManager
    12. PeriodicSyncRegistration
    13. ServiceWorker
    14. ServiceWorkerContainer
    15. ServiceWorkerRegistration
    16. SyncEvent
    17. SyncManager
    18. SyncRegistration
    19. WindowClient
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies