This extension detects if a website registers a Service Worker.

Latest Version

Version
2.4.1
Update
October 3, 2023
Size
432KiB
Developer
blog.tomayac.com
Category
Users
1,000+
Rating
3.4 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
See more

Service Worker Detector Extension

👷 This extension detects if a website registers a Service Worker [1] by reading the navigator.serviceWorker.controller property [2]. It also parses the Web App Manifest and displays the information in an accessible way. Find the source code of the extension on GitHub [3].

🤔 Why would you want this? If you aren’t into Web development, most probably you wouldn’t. However, if you are into Web development, the extension helps you identify (unexpected) Service Worker registrations in the wild and lets you analyze their code and learn from them.

💡 Why would you use this extension and not just the amazing Chrome Developer Tools? The answer is that the extension proactively detects Service Workers before you even have to open the Developer Tools (which you probably eventually will end up doing anyway).

--
[1] https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker
[2] https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/controller
[3] https://github.com/google/service-worker-detector
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Service Worker Detector", "short_name": "SW Detector", "description": "This extension detects if a website registers a Service Worker.", "author": "Thomas Steiner ([email protected], @tomayac)", "version": "2.4.1", "icons": { "16": "assets/icon-female-16.png", "48": "assets/icon-female.png", "128": "assets/icon-female-128.png", "160": "assets/icon-female.png", "512": "assets/icon-female-512.png", "1024": "assets/icon-female-1024.png" }, "page_action": { "default_icon": { "19": "assets/icon.png", "38": "assets/icon.png", "40": "assets/icon.png", "160": "assets/icon.png" }, "default_popup": "popup.html", "default_title": "\u274c\ud83d\udc77\u200d No active Service Worker found." }, "permissions": ["activeTab"], "content_scripts": [ { "matches": [""], "js": ["contentscript.js"], "run_at": "document_idle", "all_frames": false } ], "background": { "scripts": ["background.js"], "persistent": false }, "minimum_chrome_version": "40"}
Read more

How to download and manually install Service Worker Detector extension for Chrome

Looking for a way to install Service Worker Detector extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Service Worker Detector extensions manually, this article outlines two simple methods to effortlessly install Service Worker Detector extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Service Worker Detector extension and manually install through Drag &Drop

If you ever need to manually install a Service Worker Detector extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Service Worker Detector Extension by clicking the "Download CRX" button on the website.

Look for the Service Worker Detector extension you wish to install. Go to the website and download the Service Worker Detector extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Service Worker Detector extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Service Worker Detector extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Service Worker Detector extension for Chrome and install in Developer Mode

This is another method to install Service Worker Detector extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Service Worker Detector extension file

Select and download the Service Worker Detector extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Service Worker Detector extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Service Worker Detector extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Service Worker Detector extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Service Worker Detector extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Manage Web Workers Extension · Accessibility 1,000+ 9 ★ 33.54KiB

icon

Web Vitals Extension · Developer Tools 1,000+ 43 ★ 398KiB

icon

OctoLinker Extension · Developer Tools 1,000+ 110 ★ 184KiB

icon

CRX Inspector Extension · Developer Tools 1,000+ 23 ★ 47.18KiB

icon

Swoosh Cookie and Local Storage Specialist Extension · Developer Tools 1,000+ 121 ★ 720KiB

icon

Block Service Workers Extension · Developer Tools 1,000+ 11 ★ 112KiB

icon

XHR JSON Panel Extension · Developer Tools 1,000+ 18 ★ 45.82KiB

icon

Reject Service Worker Extension · Accessibility 1,000+ 9 ★ 30.52KiB

icon

Developer Cookie Extension · Developer Tools 1,000+ 9 ★ 36.39KiB

icon

No Service Worker Extension · Productivity 1,000+ 4 ★ 61.9KiB

icon

AMP Validator Extension · Developer Tools 1,000+ 97 ★ 2.51MiB

icon

DevTools Author Extension · Developer Tools 1,000+ 117 ★ 377KiB

icon

Site Bleacher Extension · Productivity 1,000+ 3 ★ 23.54KiB

icon

Dev Helper Extension · Developer Tools 1,000+ 8 ★ 90.47KiB

icon

Developer pages Extension · Developer Tools 1,000+ 5 ★ 7.09KiB

icon

View Rendered Source Extension · Developer Tools 1,000+ 37 ★ 73.68KiB

icon

Library Detector Extension · Developer Tools 1,000+ 50 ★ 232KiB

icon

Core SERP Vitals Extension · Developer Tools 1,000+ 15 ★ 20.91KiB

icon

OpenLink Structured Data Sniffer Extension · Developer Tools 1,000+ 17 ★ 2.55MiB

icon

Storage Area Explorer Extension · Developer Tools 1,000+ 149 ★ 129KiB

icon

Hreflang Tag Checker Extension · Productivity 1,000+ 14 ★ 32.95KiB

icon

HiddenTools for Google Chrome™ Extension · Productivity 1,000+ 46 ★ 156KiB

icon

CSS Exfil Protection Extension · Developer Tools 1,000+ 3 ★ 40.85KiB

icon

React Performance Devtool Extension · Developer Tools 1,000+ 11 ★ 170KiB

User reviews

icon

Vitaliy Romanyuk (ID: 000000faf0053d92) Voted 1 ★ - Updated 04/29/2022 Doesn't work (lazy dumb on icon still sleeping when workers are loads and works) on latest Cent (Chromium 86.0.4240.198)

icon

Marco Pöhler (ID: 000000a457d730dc) Voted 5 ★ - Updated 02/28/2017 easy access to service workers