I'm trying to prevent users to copy some sensitive data from my internal portal. I have disabled copy paste everything, but I cant disable print screen so I decided to empty clipboard every five seconds so that contents copied will be useless but cant use zeroclipboard.swf
without a button trigger
Here is the code
<script>
setInterval ("doSomething()", 1000);
function doSomething()
{
document.getElementById("btn_copy").click();
}
$(document).ready(function(){
$(".cop").zclip({
path:"ZeroClipboard.swf",
copy:"This is arasu"
});
});
If I click the button it works, but it isn't working, when it is triggered with coding
Thanks in advance.