Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Extension to block Service Workers registration in Chrome (also see https://shadow-workers.github.io )

License

Notifications You must be signed in to change notification settings

clod81/block_service_workers

Repository files navigation

This repo has been archived. Extensions require to be migrated to version 3. I have no time to keep it updated, so I decided to discontinue the support and development on this.

Extension to block Service Workers registration in Chrome

This project has been developed following the research and the development of the tool: https://shadow-workers.github.io

Chrome Web Store

Previous version works on Firefox. Support for Firefox has been discontinued, because major differences with Chrome

Firefox Add-ons

When loaded, this extension will prevent Service Workers to be registered.

If you want to manually install it on Firefox from this code, change the manifest.json to:

{
  "manifest_version": 2,
  "applications": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "52.0"
    }
  },
  "name": "Block Service Workers",
  "description": "Disallow to register Service Workers",
  "version": "0.3.0",
  "icons": {
     "16": "logox16.png",
     "48": "logox48.png",
    "128": "logo.png" 
  },        
  "permissions":[
    "tabs",
    "storage",
    "notifications"
  ],
  "background":
  {
    "scripts": ["confirm.js"]    
  },
  "browser_action": {
    "default_icon": "logox32.png",
    "default_popup": "settings.html"
  },
  "content_scripts": [
    {
      "matches": ["https://*/*"],
      "run_at": "document_start",
      "js": ["index.js"]
    }
  ]
}

POC

Authors

License

This tool is released under the MIT License.

How to contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Extension to block Service Workers registration in Chrome (also see https://shadow-workers.github.io )

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published