pelid / 34_timemachine

Timer for Websites That Steal Your Time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timer for Websites That Steal Your Time

This project helps to control time was spent on sites. It requires special extension for Chrome browser.

Installing

Install extension for Chrome browser Custom JavaScript for websites.

Open configuration of cjs browser extension on the site you want to controll. Click on the link "your own external scripts", add path https://eremeevfd.github.io/34_timemachine/index.js or your own script source. Don`t forget to press "enable cjs for this host" to enable custom JS.

Page will reload and you should see nice timer in the left corner. When it expires you will get alerts every 30 seconds with motivational quotes to proceed your job and stop surfing the net.

For faster development you can use JS code hosted on localhost. Simple web server can be used for that, run:

python3 -m http.server

Add path http://localhost:8000/index.js to cjs browser extension. Done.

Project Goals

The code is written for educational purposes. Training course for web-developers - DEVMAN.org

About

Timer for Websites That Steal Your Time


Languages

Language:JavaScript 100.0%