Block distracting websites by answering tough math questions
Math Blocker Extension
Math Blocker is a Chrome extension that blocks distracting websites by making users answer a series of math questions.
When loading a blocked website, a popup appears with a series of math questions. The user cannot access the site until they have completed all questions. Once the questions are finished, the site can only be used for a previously specified amount of time before another set of questions appears.
The user defines a list of websites, and specifies when the block is \"on\".
The user also defines how difficult each question is, and how many questions are asked before the user can go to the website.
If this extension has been helpful to you, please consider sending me a donation through my in-app PayPal link. Thank you.
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
Read more
When loading a blocked website, a popup appears with a series of math questions. The user cannot access the site until they have completed all questions. Once the questions are finished, the site can only be used for a previously specified amount of time before another set of questions appears.
The user defines a list of websites, and specifies when the block is \"on\".
The user also defines how difficult each question is, and how many questions are asked before the user can go to the website.
If this extension has been helpful to you, please consider sending me a donation through my in-app PayPal link. Thank you.
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Math Blocker", "description": "Block distracting websites by answering tough math questions", "version": "0.1.1", "browser_action": { "default_title": "Math Blocker Settings" }, "background": { "scripts": [ "background.js" ] }, "content_scripts": [ { "matches": [ "" ], "css": [ "modal.css" ], "js": [ "moment.min.js", "modal.js" ] } ], "web_accessible_resources": [ "modal.html" ], "icons": { "16": "./images/calculating16.png", "48": "./images/calculating48.png", "128": "./images/calculating128.png" }, "options_page": "index.html", "content_security_policy": "script-src 'self' https://code.jquery.com https://cdnjs.cloudflare.com https://stackpath.bootstrapcdn.com 'sha256-5As4+3YpY62+l38PsxCEkjB1R4YtyktBtRScTJ3fyLU='; object-src 'self'", "permissions": [ "storage", "*://*/*" ]}
Read more