送交者: xj 于 2006-3-06, 12:30:30:
回答: my tool to regulate the internet usage 由 xj 于 2006-3-06, 12:07:46:
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: "..\mozillafirefox\greprefs\all.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. :-)