{"id":18556659,"url":"https://github.com/ahmdtaha/focus_chrome_extension","last_synced_at":"2026-05-07T00:39:13.104Z","repository":{"id":98612119,"uuid":"203017337","full_name":"ahmdtaha/Focus_chrome_extension","owner":"ahmdtaha","description":"A Chrome extension that blocks social media links during a certain schedule, e.g, Weekday 8-5","archived":false,"fork":false,"pushed_at":"2019-08-18T15:36:55.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T11:34:06.173Z","etag":null,"topics":["chrome","chrome-extension","chrome-extensions","focus","free-software","javascript","motivation","motivational-quotes","self-control"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmdtaha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-18T14:40:59.000Z","updated_at":"2019-08-18T17:54:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"36509207-9de5-4dcd-9458-38dc87374dbc","html_url":"https://github.com/ahmdtaha/Focus_chrome_extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdtaha%2FFocus_chrome_extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdtaha%2FFocus_chrome_extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdtaha%2FFocus_chrome_extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmdtaha%2FFocus_chrome_extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmdtaha","download_url":"https://codeload.github.com/ahmdtaha/Focus_chrome_extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254349262,"owners_count":22056308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","chrome-extension","chrome-extensions","focus","free-software","javascript","motivation","motivational-quotes","self-control"],"created_at":"2024-11-06T21:32:40.885Z","updated_at":"2026-05-07T00:39:13.072Z","avatar_url":"https://github.com/ahmdtaha.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Focus_chrome_extension\nA Chrome extension that blocks social media links during a certain schedule, e.g, Weekday 8-5. Inspired by [Focus](https://heyfocus.com/), I decided to make a free version with simpler options. The current version is not user friendly, but it is straightforward for someone with basic computer skills.\n\n## How to use it\n\n* Download and extract this repos :)\n* [Install the chrome extension **manually**](https://www.youtube.com/watch?v=CmXJOWeecvc). Basically, (1) enable the developer mode, (2) load unpacked extension\n* Update [config.js](https://github.com/ahmdtaha/Focus_chrome_extension/blob/master/config.js) to match your preference\n\n\n## Config Format\n\nBefore explaining the config file format, it is important to know that everytime you change this file (add/remove new preference), you need to refresh the extension by clicking the reload button as shown in the next figure.\n\n![](https://github.com/ahmdtaha/Focus_chrome_extension/blob/master/reload_extension.jpg)\n\nThe config file format is very simple. Every line corresponds to a schedule and has the following format \n\n `\"source_url\",\"day\",\"time-interval\",\"destination_url\"`\n \nThis schedule/line makes the chrome extension redirects any requests to the source_url during certain intervals (day \u0026 time-interval) to the destination url. Concretely, `\"twitter.com\",\"Weekday\",\"5:00AM-5:00PM\",\"google.com\"`\nwill redirect any requests to twitter during weekday [5:00 AM - 5:00PM] to google.\n\nThe day parameter (2nd parameter) can take one of the following values [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\",\"Saturday\",\"Weekend\",\"Weekday\"]\n\n**Always rememeber to reload the plugin after you update the config file.**\n\n### Contributions\nI wish this project evolves to something bigger, so the following is a future todo list\n\n* Improve the code documentation and the plugin UI\n* Add a similar plugin for Firefox\n* Make the plugin more user-friendly;  adding it to the chrome extension store and provide a more user-friendly way to update config.js\n\nPull-request and further improvments are more than welcomed\n\n### Credits\n* I am inspired by [Focus](https://heyfocus.com/)\n* I hired Ban N. ,a freelancer from upwork, to code it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmdtaha%2Ffocus_chrome_extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmdtaha%2Ffocus_chrome_extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmdtaha%2Ffocus_chrome_extension/lists"}