Skip to content

google/service-worker-detector

πŸ‘·β€β™€οΈ πŸ‘· Service Worker Detector

πŸ’» πŸ’¬ Description

This extension detects if a website registers a Service Worker by reading the navigator.serviceWorker.controller property. This read-only property of the ServiceWorkerContainer interface only returns a ServiceWorker object if its state is activated. It returns null if the request is a force refresh (shift + refresh) or if there is no active worker.

⚠️ If the extension does not seem to work, perform a soft reload, so the Service Worker has a chance to become active.

This is not an officially supported Google product.

πŸ–₯ πŸ”« Screenshots

Screenshot Service Worker

Screenshot Manifest

Screenshot Cache Storage

πŸ”§ πŸ› Installation

Install the Service Worker Detector extension for your favorite browser:

⚀ πŸ‘ Diversity in Tech

The extension represents Service Workers with construction worker emoji. The extension icon randomly features the female or the male construction worker.

πŸ“„ πŸ’Ό License

Copyright 2017 Google Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.