jeeva Posted May 8, 2008 Share Posted May 8, 2008 Hi frnds I need to protect my site content. In order to do that i have to disable the clipboard from storing the data while user do copy and print screen. i have a javascript code to disable clipboard but its working only in IE browser. Code: <script language="javascript"> function clearData(){ window.clipboardData.setData('text','') } function ccd(){ if(clipboardData){ clipboardData.clearData(); } } setInterval("ccd();", 1000); </script> Can i disable clipboard by using javascript in other browser also? Thanks Jeeva Quote Link to comment Share on other sites More sharing options...
wrongmove18 Posted May 8, 2008 Share Posted May 8, 2008 In Firefox the Clipboard is disabled on default. You can read more info here.. http://www.webhostingtalk.com/showthread.php?t=486692 Quote Link to comment Share on other sites More sharing options...
jeeva Posted May 8, 2008 Author Share Posted May 8, 2008 Thanks wrongmove18, Is there any other possibilities to disable print screen? Quote Link to comment Share on other sites More sharing options...
wrongmove18 Posted May 8, 2008 Share Posted May 8, 2008 Try this: http://dscripts.awardspace.com/scripts.php?id=29 Quote Link to comment Share on other sites More sharing options...
jeeva Posted May 8, 2008 Author Share Posted May 8, 2008 I couldn't able to view that page.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.