A simple browser extension, intended to get you "Back To Work" when you start slacking off to one of those really addictive sites.

Overview

Back to Work


A simple browser extension, intended to get you Back To Work when you start slacking off to one of those really addictive sites.


What does it really do?

Well thats easy to understand. There are 2 modes.

  1. Work
  2. Chill
When you switch to work mode, it asks you to list all the websites that you are addicted to.For example: YouTube, Instagram, Twitter... And it locks you out of those websites.


For how long? How do I unlock them? I need to have some fun at least...

The extension asks you to choose one out of the two unlocking modes-

Time Based

In time based locking mode. It will ask you for how long you wish to lock these websites and they will be forbidden. If you still try to visit these websites, you shall be redirected to a standard page, reminding you to get back to your tasks or redirect you to a website of your choice.

Password Based

In password based unlocking, you shall be asked to type in an unlocking password which can be set by someone else and can be unlocked by them once you are done with your work.


Compatibility

Currently, this extension works only on Chrome, Edge and hopefully other Chromium based browsers. But one of the long term goals for this project is to be cross browser compatible. If you wish to help me make them compatible across browsers, feel free to open a new issue or shoot me an email or direct message me at any of my socials πŸ‘‡πŸΌ


Contributing

  • The project' is currently in the very initial stages of development. So I am currently not accepting any Pull Requests.
  • However, contributions in the form of feature requests & bug reports are most welcome. 😊

Code of Conduct

Please be mindful of the Code of Conduct while contributing and interacting.

Comments
  • enhancement: Detailed status of the modes.

    enhancement: Detailed status of the modes.

    Current ui

    1. When chill mode is on, it says chill: image
    2. When work mode is on, it says work: image

    Enchancement

    While in chill mode, the status text shall say chilling... and on hovering over that it should say work or maybe switch to work clicking upon which shall switch to work mode and status text should say working... vice versa.

    Check the clip below.

    https://user-images.githubusercontent.com/58453023/149613234-b5617bdc-d222-41a0-9ca7-0766a68a5ae8.mp4

    opened by varunmamtora06 2
  • question: how to go to the home page

    question: how to go to the home page

    Once the extension is unpacked and loaded, I get the home page.

    But how do I get back there again?

    image

    Right now, when I reload the extension, I get the homepage:

    image

    opened by tusharnankani 2
  • alt: clean JS, better implementation using classes

    alt: clean JS, better implementation using classes

    Review: The code here can be shortened by creating classes and defining styles in the stylesheet.

    https://github.com/dheerajdlalwani/back-to-work/blob/fc5c9820ee350dc1ab69f9c9aff77465bc33f979/src/popup/popup.js#L7-L18

    It can be shortened more using a default, which I assume is Chill. Have the HTML, state & styles initially for that.

    Have a class for Work, and toggle that whenever necessary.

     (mode === "Work") ? modeBtn.classList.add("work") : modeBtn.classList.remove("work");
    

    Now CSS for work would be something like:

    .work {
      content: "work";
      background-color: #f95050;
      color: #ffffff;
    }
    

    Reason to do that?

    Keeps the JS clean and and implementation short. No need for item.style.backgroundColor etc.

    opened by tusharnankani 1
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 28% πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /src/icons/icon-128.png | 3.67kb | 1.64kb | 55.19% | | /src/icons/icon-96.png | 2.44kb | 1.29kb | 47.01% | | /src/icons/icon-64.png | 1.52kb | 0.95kb | 37.47% | | /src/icons/icon-48.png | 1.12kb | 0.78kb | 30.61% | | /static/load_unpacked_chrome.png | 49.87kb | 35.68kb | 28.45% | | /static/load_unpacked_edge.png | 76.83kb | 55.49kb | 27.78% | | /static/developer_mode_edge.png | 94.13kb | 68.00kb | 27.76% | | /static/developer_mode_chrome.png | 51.45kb | 37.38kb | 27.34% | | /src/icons/icon-32.png | 0.80kb | 0.61kb | 23.35% | | /src/icons/icon.svg | 0.73kb | 0.72kb | 0.94% | | | | | | | Total : | 282.55kb | 202.55kb | 28.31% |


    πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸͺ marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • Enhancement: Convert markup into semantic HTML

    Enhancement: Convert markup into semantic HTML

    The source code is pretty much filled with non-semantic markup. Need to use proper semantic tags for example <section>, <main> wherever appropriate.

    opened by dheerajdlalwani 0
  • [ImgBot] Optimize images

    [ImgBot] Optimize images

    Beep boop. Your images are optimized!

    Your image file size has been reduced by 27% πŸŽ‰

    Details

    | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /src/icons/icon-128.png | 3.67kb | 1.64kb | 55.19% | | /src/icons/icon-96.png | 2.44kb | 1.29kb | 47.01% | | /src/icons/icon-64.png | 1.52kb | 0.95kb | 37.47% | | /src/icons/icon-48.png | 1.12kb | 0.78kb | 30.61% | | /static/load_unpacked_chrome.png | 49.87kb | 35.68kb | 28.45% | | /static/load_unpacked_edge.png | 76.83kb | 55.49kb | 27.78% | | /static/developer_mode_edge.png | 94.13kb | 68.00kb | 27.76% | | /static/developer_mode_chrome.png | 51.45kb | 37.38kb | 27.34% | | /static/github_preview.png | 121.60kb | 93.16kb | 23.39% | | /src/icons/icon-32.png | 0.80kb | 0.61kb | 23.35% | | /src/icons/icon.svg | 0.73kb | 0.72kb | 0.94% | | | | | | | Total : | 404.15kb | 295.71kb | 26.83% |


    πŸ“ docs | :octocat: repo | πŸ™‹πŸΎ issues | πŸͺ marketplace

    ~Imgbot - Part of Optimole family

    opened by imgbot[bot] 0
  • Support: Add suport for Mozilla Firefox

    Support: Add suport for Mozilla Firefox

    I was trying to install this extension on firefox(primary browser) but it seems that Manifest v3 is not supported. image Mozilla on Manifest v3 support https://blog.mozilla.org/addons/2021/05/27/manifest-v3-update/ https://blog.mozilla.org/addons/2019/09/03/mozillas-manifest-v3-faq/ Possible solution: Downgrade version v2 to support firefox. I have not read the source code of the extension so I don't know if that would be a problem. I'll be happy to work on this if any major work is required.

    opened by gupta-shrinath 3
  • Enhancement: Redesign blocklisted website UI

    Enhancement: Redesign blocklisted website UI

    Current UI image Redesign UI image The current UI could be updated with the above-mentioned UI. This is just to give you an idea you can make it more aesthetically pleasing. I'm not good at CSS so forgive me. Below is the code snippet just to give you an idea. https://gist.github.com/gupta-shrinath/6194e225375170d153bfa2c30727c862

    opened by gupta-shrinath 1
  • feat: Add current website on the go to block list

    feat: Add current website on the go to block list

    Suppose I am on a website which is diverging me to a whole new thing and not letting me focus on the stuff I chose to do while switching to work mode. So what I should be able to do is, open the extension window and just click on the button which says Add current page to block list and that's it. The tab closes and I can't access it till I go to chill mode.

    opened by chiraglulla 0
  • enhancement: better CTA, extra margin, etc.

    enhancement: better CTA, extra margin, etc.

    1. Different Call to actions button should be styled differently

    image

    1. Extra margin here at the bottom won't hurt :P

    image

    1. Once URL is typed, pressing enter should do the job of the Add button. It is a good UX.
    opened by tusharnankani 1
Releases(v0.0.2-alpha)
  • v0.0.2-alpha(Jan 24, 2022)

  • v0.0.1-alpha(Jan 14, 2022)

Owner
Dheeraj Lalwani
Dheeraj Lalwani
Cross-browser plugin to remove addictive features on YouTube like thumbnails, comments, previews and more...

ZenTube Installation Features Remove some (more) elements from Youtube to make it less addictive. Mix and match between the following options: Hide or

inversepolarity 57 Dec 17, 2022
Superkeys allow users to add short keys for websites and make search query in those sites.

Superkeys is a browser extension which allow users to add short keys for websites and make search query in those sites. Made with ❀️ @nilooy ??‍?? Dem

Niloy 9 Aug 17, 2022
How often do you get asked about the gadgets or software that you use? If the answer is quite often, you should be trying show off out. Curate the list of gadgets and software and share it with your fans and followers.

Show Off - Showcase your setup! How often do you get asked about the gadgets or software that you use? If the answer is quite often, you should be try

Adithya Sreyaj 15 Nov 24, 2022
Download all Moodle files with one click. This is a Chrome extension built to save time and effort from downloading files manually one by one!

Moodle Downloader Extension Moodle downloader extension for Chrome. The extension is tested with both the TUM moodle and the official moodle demo. Not

Zhongpin Wang 8 Nov 15, 2022
A tool for increasing the off-by-one bug in ordinal explorers

Breaker of jpegs A tool for increasing the off-by-one bug in ordinal explorers How to break inscription numbers On 2023-05-04 I introduced an off-by-o

null 63 Aug 9, 2023
zieeco 12 Jul 8, 2022
This is a Google Chrome Extension which blocks social media sites.

Social Media Blocks (1.0.3) This is a Google Chrome Extension which blocks social media sites like Twitter: Facebook, Instagram, LinkedIn, WhatsApp, R

Helitha Rupasinghe 20 Dec 15, 2022
πŸͺ† Template intended to serve as a starting point if you want to bootstrap a Figma Plugin in TypeScript.

?? Codely Figma Plugin Skeleton Template intended to serve as a starting point if you want to bootstrap a Figma Plugin in TypeScript. Take a look, pla

CodelyTV 26 Dec 22, 2022
Build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Improve your sites SEO with quick and easy Rich Results.

schema-org-graph-js The quickest and easiest way to build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Status: ?? In Development Pl

Harlan Wilton 17 Dec 21, 2022
Massive Open-Source Anti-agression Intelligence Collection is intended for civilians to be able to submit and verify intelligence items about an attacking force.

Massive Open-Source Anti-agression Intelligence Collection is intended for civilians to be able to submit and verify intelligence items about an attacking force.

William Brochmann 3 Mar 1, 2022
Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community.

SE701-Updog Updog is an open-source social media webapp intended to allow everyday people to share their thoughts in a welcoming community. This proje

SE 701 Team 2 UoA 14 Apr 18, 2022
A minimal & self-hostable alternative to pastebin intended for code

minBin A minimal & self-hostable alternative to pastebin intended for code Use ⌨️ A public instance is available at https://bin.kio.dev/ Building ?? n

Kio 4 Dec 29, 2022
An action intended to run on pull request and post a comment summarizing any changes to DevCycle variables.

Overview With this Github action, information on which DevCycle features have been added or removed in a code change will be shown directly on each Pu

DevCycle 20 Jun 14, 2022
A tiny script and component intended to be used with Astro for generating images with eleventy-img.

Astro + eleventy-img A tiny script and component intended to be used with Astro for generating images with eleventy-img. It also supports creating blu

Erika 36 Dec 16, 2022
Boilerplate / monorepo setup intended for npm package development

Assemble Package Set up: After creating your new repo from the github template plan out what your package(s) will be named and modify the contents of

Public Assembly 11 Dec 15, 2022
A guide for your daily "professional" interactions (not really)

How to professionally say A guide for your daily professional interactions. A simple static website for common phrases we might want to say to your co

Akash Rajpurohit 979 Dec 14, 2022
Million is a lightweight (<1kb) Virtual DOM. It's really fast and makes it easy to create user interfaces.

?? Watch Video ?? Read the docs ?? Join our Discord What is Million? Million is a lightweight (<1kb) Virtual DOM. It's really fast and makes it easy t

Derek Jones 5 Aug 24, 2022
πŸš€ A really straight-forward SurrealDB Rest API wrapper.

SurrealDB Node.js npm i surrealdb Quick Start surreal start --root user --pass user import SurrealDB from 'surrealdb' const Surreal = new SurrealDB('

Jareer Abdullah 5 Dec 10, 2022
πŸͺ’ A really tiny library that generates classname strings.

cnz (β€œclassnamez”) The smallest classnames-compatible package yet (I think). This is an extremely simple javascript utility for conditionally joining

Riley Shaw 6 Dec 15, 2022