Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
restrict copying image
09-18-2007, 06:08 PM (This post was last modified: 09-18-2007 06:08 PM by albinjoseph.)
Post: #4
RE: restrict copying image
As mathew said, no way you can stop copying images from your site.
But you can restrict it to some extend by disabling print screen or right click.

For disabling print screen using javascript just add the following line to your body tag.

Code:
onload='setInterval("window.clipboardData.clearData()",50)'
.

For eg:
Code:
<body onload='setInterval("window.clipboardData.clearData()",50)'>

This will work in both IE and FF. But the problem is that as long as the window open you will not be able to do any copy paste operations.

This will just disable printscreen when your page is opened. But still the options like IE picture toolbar , browser cache etc are available.

You need to disable the IE picture toolbar, right click and you should not cache any of your pages.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
restrict copying image - bpsujith - 09-05-2007, 10:05 AM
RE: restrict copying image - mathew - 09-05-2007, 04:32 PM
RE: restrict copying image - Lroj - 09-06-2007, 11:18 AM
RE: restrict copying image - albinjoseph - 09-18-2007 06:08 PM
RE: restrict copying image - fleh - 12-16-2010, 09:47 AM
RE: restrict copying image - camrondells - 09-23-2011, 06:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)