Remove bad browsing habits by solving coding problems!

Latest Version

Version
0.0.8
Update
May 15, 2021
Size
535KiB
Developer
Category
Users
544
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Identity
Storage

ContextMenus
Notifications
See more

codeblock Extension

Research shows that to change a person's life for the better, they must make bad habits harder to perform. CodeBlock is an innovative chrome extension which requires the user to solve a coding challenge before granted access to a distracting site for a limited amount of time. The idea is, each unique visit to a distracting site prompts a new / novel coding challenge the user must solve. That question is saved in storage and the user may never access a distracting website until they have solved the given coding challenge. Once they solve one problem, a new problem will appear, increasing in difficulty.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "codeblock", "description": "Remove bad browsing habits by solving coding problems!", "author": "JackHeTech LLC", "version": "0.0.8", "options_page": "res/pages/options.html", "content_security_policy": "script-src 'self' https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css 'unsafe-eval'; object-src 'self'", "background": { "scripts": ["src/background.js", "src/util.js"], "persistent": true }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo/nOJ2eY5jCVggLBVWsoHCRqER5JjHzbAywdq7rHyfWRiI0UGPohdHEj1lD2vT9iZA+CXghDwkfScDBCV4EhKWOfhpYhXDF/i7KlGDdehk8Wb1lmHiBHSAKiROtpWIo2wcdOqSfXg4Fn/nxvVU3Us96cOuxV44odM/wRQWLVw4DU+HtAboKOFCqhr65YsgevhrR3PGwzkocyHkfi5rpddBRiofwFcu/rOY/wmlBhUIwsdGvdIdbpwp8VMLe2webkY5EDQ2bcCCu+Mmwr+4eL34z3mhyhINdw1Peq7+/mY+fdjtx3RaKj0SkS92GYEYKPtiXulUIJ0qGgLJhPPM6hIwIDAQAB", "icons": { "16": "res/icon.png", "48": "res/icon.png", "128": "res/icon.png" }, "browser_action": { "default_icon": "res/icon.png", "default_popup": "res/pages/popup.html", "default_title": "open codeblock settings" }, "permissions": ["identity", "storage", "", "contextMenus", "notifications"], "oauth2": { "client_id": "638579835457-p71ond97vrk0vfp4g63snrbkan0bp7q5.apps.googleusercontent.com", "scopes":["email"] }, "content_scripts": [ { "matches": ["*://*/*"], "js": [ "jquery-3.4.1.min.js", "jquery-ui.min.js", "src/content.js", "lib/codemirror.js", "lib/closebrackets.js", "supported_languages/javascript.js", "supported_languages/python.js", "supported_languages/clike.js" ], "css": [ "lib/codemirror.css", "themes/material.css", "themes/blackboard.css", "themes/dracula.css", "themes/monokai.css", "themes/solarized.css", "themes/xq-light.css", "res/main.css", "res/resizer.css" ], "run_at": "document_start" } ], "web_accessible_resources": ["res/*"]}
Read more