Giter VIP home page Giter VIP logo

have-a-break's Introduction

Have a Break

Browsing the Web can be very addicting specially if the user interface of the website supports infinite scrolling - where the user's feed keeps on generating and displaying new user contents. With this in mind, the user may not notice that he has spent browsing the Web longer than expected. Overconsumption of the Web can be detrimental to one's health and can impact the person's productivity. Imagine how many chores you can do if you cut your Web browsing time short.

Have a Break is a Chrome Extension that reminds you to take a break from Web browsing after a certain amount of time specified by the user. When you first open the extension, it would ask you how long you want to browse before you get reminded by the extension. By default, it is set to 20 minutes, which is the browsing time recommended to prevent eye strain. After you enter your desired time, you should press the START RECORDING button. The countdown timer starts when you start browsing the Web or when you go to a page whose URL starts with "http" or "https." The countdown is triggered by the following action of the user:

  • Opening in a new tab
  • Updating the tab (e.g. changing the tab's URL)
  • Clicking anywhere within the webpage
  • Scrolling anywhere within the webpage

The countdown timer should continue working and should sync no matter how many tabs or browsers windows you have opened. After the countdown timer expires, it would alert the user to take a break. Using this extension gurantees that you don't spend excessive time on the Web.

Impovements:

If time permits, these are the improvements that I wish to apply to my extension:

  • Being able to measure Web usage through scroll length
  • The countdown timer still counts down even after it stops
  • Improve the styling of the pop up
  • Improve the way to prevent the user from accessing a webpage after the time elapsed.

have-a-break's People

Contributors

doncastillo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.