Restrict Copy Paste in Webpages with java Script

Image

Easy To Implement Try  This

<html>
<head>
<script type=”text/javascript”>
function start(){
block = setInterval(“window.clipboardData.setData(‘text’,”)”,20);
}
function stop(){
clearInterval(block);
}
</script>
</head>

<body onload=”start();”>
YOU TRY TO COPY AND PASTE THIS SCREEN, AND ALL THE ACTIVE SCREENS
<input type=”button” onclick=”stop();” value=”stop blocking copy/paste!”>

</body>
</html>

With Regard’s

K.RAJA SEKHAR REDDY(RAJ9992)

Software Developer

Advertisements
This entry was posted in JavaScrpit and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s