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.
This project has been developed following the research and the development of the tool: https://shadow-workers.github.io
Previous version works on Firefox. Support for Firefox has been discontinued, because major differences with Chrome
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": "bloooockserviceworkers@eeeeeeeeeeeeeeeeeemail.com",
"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"]
}
]
}
This tool is released under the MIT License.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request