Violentmonkey script that helps you keep track of surfing time
- Install Violentmonkey extension for your favorite browser.
- Open dashboard and create new script.
- Copy code from index.js and paste it into the script.
- Enable scripts in the control panel of Violentmonkey.
To change the site for counting the time of surfing, you can change the field @match with to any regular expression.
// ==UserScript==
// @name Counter
// @namespace Violentmonkey Scripts
***// @match *://www.google.com/*
// @grant none
// @require https://code.jquery.com/jquery-1.12.4.js
// @require https://code.jquery.com/ui/1.12.1/jquery-ui.js
// ==/UserScript==