Home ·  About ·  Search ·  Contact ·  SiteCatalyst Plugins ·  Web Analytics Books




Jan Exner - January 6th, 2010 @4:04 am  

Hi Kevin,

Good posting, but I think the code is mixed up. Could it be that the lines

if(document.body && document.body.attachEvent){
document.body.attachEvent(“oncopy”, trackCopy);}
else if (document.body && document.body.addEventListener){
document.body.addEventListener(‘copy’,trackCopy, false);}}

should be part of the first part of the code?

Cheers,
Jan


Kailee - January 20th, 2010 @2:20 pm  

This is awesome. But wanted to make sure the code is correct before I copy and paste it on my site.

Do you have an answer to the previous comment?


VaBeachKevin - January 22nd, 2010 @12:05 pm  

You can check my s_code file to see it live in action, and it is working fine here on the site. You can see my s_code.js file here.

Please Note: comments maybe under moderation so there is no need to resubmit your comments. Feel free to subscribe to this post's comment rss feed for future updates