Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.59 KB

README.md

File metadata and controls

56 lines (38 loc) · 2.59 KB

👷‍♀️ 👷 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.