A chrome extenstion that will block youtube and replace it with a motivational image
focus Extension
Focus, deletes the content when a YouTube Page is loaded and replaces it with an image and a stern message.
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "focus", "version": "1.0", "description": "A chrome extenstion that will block youtube and replace it with a motivational image", "content_scripts": [ { "matches": [ "https://www.youtube.com/*" ], "js": ["jquery.js", "./main.js"] } ], "action": { "default_icon": { "16": "./img/icon16.png", "24": "./img/icon24.png", "32": "./img/icon32.png" }, "default_title": "Focus", "default_popup": "popup.html" }, "web_accessible_resources": [ { "resources": [ "/img/focus.jpg" ], "matches": [ "https://www.youtube.com/*" ], "use_dynamic_url": true } ]}
Read more