Block access to sites that are negatively consuming your life

Latest Version

Version
0.0.1
Update
September 11, 2023
Size
12.7KiB
Developer
Category
Users
92
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Tabs
See more

Distraction blocker Extension

Distraction Blocker is a Chrome Extension that \"blocks\" specified sites by closing their browser tabs whenever they are entered into your browser. This mini-project was built after I stayed up until 4am watching YouTube reels...

*** IMPORTANT ***

- Enable Distraction blocker in your browser. Click on the Distraction blocker icon > Options and formulate your web blacklist there.

- On your browser go to Extensions > Manage Extensions > Distraction blocker > Details and turn on Allow in Incognito so you can't cheat around the blocker.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Distraction blocker", "version": "0.0.1", "description": "Block access to sites that are negatively consuming your life", "icons": { "16": "images/D.png", "32": "images/D.png", "48": "images/D.png", "128": "images/D.png" }, "options_page": "options.html", "permissions": ["storage", "tabs"], "content_scripts": [ { "matches": [""], "js": ["scripts/content.js"] } ], "background": { "service_worker": "scripts/background.js" }}
Read more