I have written a small javascript program embeded in the webpage “Your life is in your hands”(right click and save it) to regulate my internet usage. It has many nice features that many commercial software are lacking.
1. record weekly and daily internet usage, and display it in a table, so one can be constantly reminded his/her internet usage
2. each session is limited to a certain minutes (10 min by default)
3. the interval between two visist is also limited (20 min by default)
4. no more than a certain times and minutes allowed for each day (20 times and 60 minutes per day)
5. blocked time period for no internet use
6. automatic close the main window, but not those windows not opened by javascript. It’s the javascript problem, not mine
7. open source, it’s written in javascript and HTML.
Free as in the freedom, free for everybody.
But you may need some modifications in your system (just firefox or IE settings):
quote from the source code:
// Make this HTML page as your IE or firefox homepage, preferably in your local hard drive
// so that whenever you start IE or firefox, it will record and check your internet usage
//
// because both firefox and IE have restrictions on executing script,
// you need to make following modifications in your system
//
// for firefox, change this following general preference in your firefox directory
// “..mozillafirefoxgreprefsall.js”
// around line 420: change to pref(”dom.allow_scripts_to_close_windows”,true); i.e., change false to true
// if not, javascript won’t close the window
//
// for IE: go to the internet options under the tool menu, go to the advanced tab
// go down to the “security” section and make sure that
// the line “allow active content to run in files on my computer” is checked, i.e., allowed.
// otherwise you need to turn on javascript every time you open it
//
// TIP: you can clear the cookie in your browser to reset the record. 
(more…)