Forum Moderators: open
"<!-- I need to get around to password protecting /foo directory, I really don't want just anyone to see the contents since they are so important to me -->"
Then count the views to /foo (needs to be an otherwise unused directory for this to work obviously).
As for CTRL-C, just do something like this
<script type="text/javascript">
<!--
document.onkeyup = function(e) {
if (!e) e = window.event;
if ((e.keyCode == 67) && (e.ctrlKey == true)) {
// do something to track here
// for example, call a CGI that
// writes count to a file on
// the server...
void(window.open('copy-counter.pl', '', ''));
}
}
//-->
</script>
Jordan