This project helps to control time was spent on Geektimes. It requires special extension for Chrome browser.
Install extension for Chrome browser Custom JavaScript for websites.
Open Geektimes site.
Open configuration of cjs
browser extension on the site you want to controll. Click on the link
"your own external scripts", add path
https://cdn.rawgit.com/John2013/34_timemachine/dc01b5d9/index.js
.
Don't forget to press "enable cjs for this host" to enable custom JS
then click save
.
After page reload timer will started in site header and will remind you to get back to work
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.
Messages was taken in Ranc58/34_timemachine repo.
The code is written for educational purposes. Training course for web-developers - DEVMAN.org