Git Product home page Git Product logo

google / service-worker-detector Goto Github PK

View Code? Open in Web Editor NEW
164.0 9.0 32.0 3.17 MB

This extension detects if a website registers a Service Worker.

Home Page: https://chrome.google.com/webstore/detail/service-worker-detector/ofdigdofloanabjcaijfidkogmejlmjc

License: Apache License 2.0

JavaScript 94.62% CSS 3.98% HTML 1.39%
service-worker service-workers serviceworker manifest web-app-manifest browser-extension progressive-web-app pwa progressive-web-apps cache-storage

service-worker-detector's Introduction

๐Ÿ‘ทโ€โ™€๏ธ ๐Ÿ‘ท 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.