I need to develop a small program that will keep track of the time that a minor spends on Facebook, My Space etc and will not allow access to those sites or other such sites after a specified time (example: 3 hours). This three hour limit is set by the parents and will only allow a minor to access certain sites the parents choose and will only let the minor access theses sites for three hours every 24 hours / 48 hours or other limit also set by the parents.
This needs to allow the minor to still access sites that have been OK’d by the parents after the pre-determined time limit expires. Someone suggested the Network API, but will that block everything or only the sites specified by the parents?
http://www.callingallgeeks.org/how-to-limit-the-amount-of-time-spent-on-a-website/