Skip to content

vergeev/34_timemachine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Timer for Websites That Steal Your Time

This project helps to control time was spent on a website. The timer works in the following way: after 3 minutes are passed, it displays the first motivational quote about work. All subsequent quotes are displayed with time interval of 30 seconds. initial look time out

Installation

Install the extension for Chrome browser Custom JavaScript for websites.

Open configuration of cjs browser extension on the site you want to control. Click on the link "your own external scripts", remove the commented example, add path https://cdn.rawgit.com/patrnk/34_timemachine/c0d64fed/index.js. Don`t forget to press "enable cjs for this host" to enable custom JS.

Modification

You can easily change the time intervals and add/remove the nag messages. For faster development, you can serve the JS code from localhost (don't forget to allow mixed content):

python3 -m http.server

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

Project Goals

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

About

Timer for Websites That Steal Your Time

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 100.0%