PDA

View Full Version : Disable Ctrl Print Screen on Website



beakmbeakm
10-24-2004, 02:50 AM
Does anyone know of a way to do this? I have the disable right click, disable left click, and cut-and-paste code. How about Ctrl Print Screen? Thanks in advance for your help!

cr3ative
10-24-2004, 08:30 AM
Thats an operating system command, not a web browser command.
Therefore without very intrusive coding (i.e ActiveX etc) this can't be done.

Also, your right-click, left-click and cut and paste scripts are rendered useless by anyone like me who runs FireFox.

cr3ative

Gabber
11-30-2004, 02:33 PM
yes, there is a way... search google, there is a script for that...
people can still rip from your page, not only using firefox, but disabling javascript... even if you prevent all this, someone who really wants your images will get them for sure! no way around it... not to mention you had to make them all non-cachable (going to internet files is the easiest way).

then, you can encrypt your code, and this will put an end on 99,999999999999999999999999999999999999999999999999999999999999999999999999999999% of all users stealing your HTML, but not your images... disbaling javascript will still make printscreen available, yet with encrypted code anyway...

so no way around it... you can use watermaks, but that sucks...
as for me, I use many protection scripts on my site, but only to make things harder...the site is supposed to show covers and info... but this way, people won't take them so easily, what may prevent easy stealers to take them and post them on their own sites. still I had to make some people take away text they had taken from my site...

GavinPearce
12-14-2004, 11:56 AM
Some people are mad if you ask me.

Why bother? Come on, what harm is it if someone copies a bit of text. You're trying to change the way the internet works. All information that you want to send to the user, is sent to the user. What you're trying to do is stop the user getting any information in the first place. And the only way to do that is to not have a website in the first place.

How many 'big' companies do you seeing hiding all their content away behind anoying alert boxes, and buggy scripts exploting holes in IE.

All information the user sees is sent to their computer, it's how it works, if you don't want them to see it, don't send it.

Are we not out of the age of hiding stuff yet? We should be aiming at all building valid pages, not worrying about hiding what we got. If someone wanted your source, they'd steal it, if someone wanted your pictures, they'd take them, all you're stopping is the innocent user who is intrested in your page.

My few cents worth.

calum112
01-05-2005, 08:58 PM
Yeh but if you sell on eBay or from your website you dont want other people stealing your hard work.

mwinter
01-05-2005, 09:10 PM
Yeh but if you sell on eBay or from your websiteIf you're selling material, you shouldn't be putting it on the Web at a quality worth stealing. Why would anyone pay you, other than out of the goodness of their heart, if they can take the exact same product for free?

If what you're selling is digital (high resolution images, music, literature, etc), then put it behind a secure system and only allow access to customers that have paid.

Common sense. It's a wonderful thing.

Mike

GavinPearce
01-05-2005, 10:14 PM
Yea, very well said. A simple way is just to break things up.

In images - put watermarks bang across the middle of images, not just little things off to the edge, they can be cropped out.

In music, play only samples, or stream it low quality, but insure you still have words over it in some sections so it cant be copied from the sound card.

In website designs/templates - take a screen shot, and lower the resolution and colors in it, people cant then steal code, or cut it up into their own code.

Not knowing what you're doing can't be sure, but all those above will help.
A little more information on what you're doing and we'd love to dream up ideas to help you better.

GavinPearce
01-05-2005, 10:15 PM
Further to be post above, are you selling PHP script or something similiar? That would be hard to protect if you are showing the source before sale. The best I could really advice for that is setup a demo of the script, and then just provide a very limited demo version for anyone who wants to see any coding.

calum112
01-07-2005, 08:14 PM
If you're selling material, you shouldn't be putting it on the Web at a quality worth stealing. Why would anyone pay you, other than out of the goodness of their heart, if they can take the exact same product for free?
Obviously they would rather steal it than pay for it.

What I ment was: If you have a product and have spent hours making your own description and pictures to promote and encourage people to buy it. You don't want some git to come along and copy an paste all your work on to their website. If you're prepared to put the time in, then they shouldn't steal it - If anyone argues with that then they shouldn't be on this side of bars!


Case settled - Common sense is nothing without a brain :D

Minos
01-08-2005, 08:19 AM
It still stands though, if you are selling a product that isn't digital, all they would be doing is taking pictures of your product. It would be like Chevy putting 2005 Mustangs on their site...they still can't sell what they don't have...

theprincessbride
01-10-2005, 12:34 AM
Can I disable printing of my web pages?
Yes. Check the 'Disable page printing' box.
Note: This will not actually 'disable' printing. If someone tries to print a protected html file, only blank pages will be printed. The page content (text, images etc.) can't be printed.

theprincessbride
01-10-2005, 12:35 AM
There are really two print screen functions: 1) print current screen
snapshot, triggered by PrintScreen or Shift- PrtSc or Shift-gray*, and
2) turn on continuous screen echo, started and stopped by Ctrl-P or
Ctrl-PrtSc.

1) Screen snapshot to printer:

The BIOS uses INT 5 for this. Fortunately, you don't need to mess with
that interrupt handler. The standard handler, in BIOS versions dated
December 1982 or later, uses a byte at 0040:0100 (= 0000:0500) to
determine whether a print screen is currently in progress. If it is,
pressing PrintScreen again is ignored. So to disable the screen
snapshot, all you have to do is write a 1 to that byte. When the user
presses PrintScreen, the BIOS will think that a print screen is already
in progress and will ignore the user's keypress. You can re-enable
PrintScreen by zeroing the same byte.

Here's some simple code:

void prtsc_allow(int allow) /* 0=disable, nonzero=enable */
{
unsigned char far* flag = (unsigned char far*)0x00400100UL;
*flag = (unsigned char)!allow;
}

2) Continuous echo of screen to printer:

If ANSI.SYS is loaded, you can easily disable the continuous echo of
screen to printer (Ctrl-P or Ctrl- PrtSc). Just redefine the keys by
"printing" strings like these to the screen (BASIC print, C printf(),
Pascal Write statements, or ECHO command in batch files), where <27>
stands for the Escape character, ASCII 27:

<27>[0;114;"Ctrl-PrtSc disabled"p
<27>[16;"^P"p

If you haven't installed ANSI.SYS, I can't offer an easy way to disable
the echo-screen-to-printer function.

Actually, you might not need to disable Ctrl-P and Ctrl- PrtSc. If your
only concern is not locking up your machine, when you see the "Abort,
Retry, Ignore, Fail" prompt just press Ctrl-P again and then press I. As
an alternative, install one of the many print spoolers that intercept
printer-status queries and always return "Printer ready".

charles2smart
03-07-2005, 11:10 AM
Hi, theprincessbride :)

I'm interested in the two methods you offered to disable Print Screen funtion, especially, the point one sounds workable. However, it doesn't look like a genuine javascript codings, does it? And after I tried to copy paste your codings into my test page, it doesn't work for me.

I believe that your theory sounds very convining, and here may I ask for your kind help to refine your script for me? Very much appreciated!
:)




There are really two print screen functions: 1) print current screen
snapshot, triggered by PrintScreen or Shift- PrtSc or Shift-gray*, and
2) turn on continuous screen echo, started and stopped by Ctrl-P or
Ctrl-PrtSc.

1) Screen snapshot to printer:

The BIOS uses INT 5 for this. Fortunately, you don't need to mess with
that interrupt handler. The standard handler, in BIOS versions dated
December 1982 or later, uses a byte at 0040:0100 (= 0000:0500) to
determine whether a print screen is currently in progress. If it is,
pressing PrintScreen again is ignored. So to disable the screen
snapshot, all you have to do is write a 1 to that byte. When the user
presses PrintScreen, the BIOS will think that a print screen is already
in progress and will ignore the user's keypress. You can re-enable
PrintScreen by zeroing the same byte.

Here's some simple code:

void prtsc_allow(int allow) /* 0=disable, nonzero=enable */
{
unsigned char far* flag = (unsigned char far*)0x00400100UL;
*flag = (unsigned char)!allow;
}

2) Continuous echo of screen to printer:

If ANSI.SYS is loaded, you can easily disable the continuous echo of
screen to printer (Ctrl-P or Ctrl- PrtSc). Just redefine the keys by
"printing" strings like these to the screen (BASIC print, C printf(),
Pascal Write statements, or ECHO command in batch files), where <27>
stands for the Escape character, ASCII 27:

<27>[0;114;"Ctrl-PrtSc disabled"p
<27>[16;"^P"p

If you haven't installed ANSI.SYS, I can't offer an easy way to disable
the echo-screen-to-printer function.

Actually, you might not need to disable Ctrl-P and Ctrl- PrtSc. If your
only concern is not locking up your machine, when you see the "Abort,
Retry, Ignore, Fail" prompt just press Ctrl-P again and then press I. As
an alternative, install one of the many print spoolers that intercept
printer-status queries and always return "Printer ready".

mwinter
03-07-2005, 02:24 PM
I'm interested in the two methods you offered to disable Print Screen funtion,You'll find that they were "as a matter of interest" off-topic comments. They had no application in this context, and there is no realistic way to prevent the screen capture of websites.


However, it doesn't look like a genuine javascript codings, does it?That's because it's not. It's C. :p

Mike

fictional_real
04-01-2005, 03:27 PM
Hi guys, This is my first posts. NIce to know you all and this website.

i need help.

i have been told to find a code in javascript to disable CTRL + C and other CTRL combination which is, i believe possible. To be honest, i have found the code wid my friends however, cudn't find how to disable CTRL + PrintScr for a website using javascript.

Some wise guy here said its not possible since this function is controlled by OS.

is it so? i can't use javascript and any other scripting language to control this?

Thanx,
FR

fictional_real
04-01-2005, 03:35 PM
hey guys,

lolz...i just got the code. its in javascript. it completely clears the clipboard. So, you can disable all the combination of CTRl. i.e coping, pasting, printing etc...

warning: this effects the OS. so, when you run the script it also effects the other application. So, if you have copied from other application like for say "MS WORD" it wont be copied until unless you end the program and close the web page in which the following script has be processed.


<style media="print">

body {

display : none;

}

</style>



</HEAD>



<BODY onload=setInterval("window.clipboardData.clearData()",20)>



sdfdsfdsfdsfd



</BODY>

</HTML>

jscheuer1
04-01-2005, 05:08 PM
All I need to do is turn off JavaScript and viola, my clipboard works on this page.

cr3ative
04-01-2005, 05:32 PM
That would be so annoying. To get your clipboard wiped without prompting could be a real problem.

Just my two cents.

cr3ative

mwinter
04-02-2005, 12:35 AM
That would be so annoying. To get your clipboard wiped without prompting could be a real problem.Microsoft never ceases to amaze me. What on Earth are they thinking, allowing something like that? Morons!

Mike

xanadu
07-16-2005, 12:33 AM
Does anyone know of a way to do this? I have the disable right click, disable left click, and cut-and-paste code. How about Ctrl Print Screen? Thanks in advance for your help!


Did you ever figure out how to disable print screen?

--Xanadu

Twey
07-16-2005, 10:19 AM
Microsoft never ceases to amaze me. What on Earth are they thinking, allowing something like that? Morons!IE allows webpages to arbitrarily wipe your clipboard?!
That goes beyond even MS' slap-happy "use before security" policy!

Servoc
08-26-2005, 11:37 PM
I just joined this forum today while looking for information on this very topic. I did find some an interesting program called HTML protection (http://www.antssoft.com/htmlprotector/), that promises to do the job and much more. Has anyone ever heard of this, or if you download the trial and give it a try, post your results here. They have a sample page that is linked off the one above which seems to work as promised.

Currently, I'm just in the develpment stages of a very intense website which will need to have as much protection as possible.

jscheuer1
08-26-2005, 11:48 PM
It took me all of 20 seconds to override this protection completely in FF, partially in IE. I wasn't really trying very hard.

darco9x2
08-27-2005, 12:15 AM
printscreen still works on that sample page in ff and i havent done anything to get around the protection.
i see the location when i scrool over a link.
the only thing is i can view teh body scource. without editing settings and such, but if i turn off javascript i can just highlight the text and cnp and save the pics. so this isnt pratical if the viewer uses ff (and there are lots of us)

mwinter
08-27-2005, 05:06 AM
Just to show my utter contempt for these sorts of things, the following bookmarklet can be used to disable pretty much every 'feature' displayed in the demonstration.


javascript:void(hp_dc=hp_nls=function(){});void(onmousemove=document.onmousedown=document.onkeydown=document.ondragstart=document.onselectstart=document.onconte xtmenu=onafterprint=null);void(onbeforeprint=function(){var c=document.styleSheets,s,r;if(c){for(var i=0;i<c.length;++i){if('print'==(s=c[i]).media){for(var j=0;j<s.rules.length;++j){if('body'==(r=s.rules[j]).selectorText.toLowerCase()&&'none'==r.style.display){void(s.disabled=true);}}}}}});Though you can now view the source, it will still appear 'encrypted' in IE (use the DOM Inspector and the Copy XML context menu item in Mozilla). So, to counter this you can use the following bookmarklet:


javascript:document.write('<style type="text/css">body{font-family:monospace}</style>\n\n\n'+document.documentElement.outerHTML.replace(/"/g,'&quot;').replace(/</g,'&lt;').replace(/\n/g,'<br>'));This replaces the current document with the complete source inside the html element (it will omit any included DOCTYPE declaration).

The easiest way I find to add bookmarklets is to first bookmark something (anything). Next, select Organise Favourites from the Favourites menu, right-click on the bookmark and select Properties. You can now paste the code into the URL field (ignore warnings about unrecognised protocols). Later, you can just copy and paste bookmarks from the context menu.


I must say that there are some very worrying components in that service. A quick list would be: banning Opera; preventing caching; clearing clipboard (including in other applications!); 'encryption'; banning search engines. All of these are potentially harmful to either a site or its users, and all for the misguided notion of 'protection'.

Mike

Servoc
08-27-2005, 07:41 AM
Thanks for the quick replies. Does anyone know of a way to possibly have another document, maybe a word.doc that would print out rather than the image file.

It doesn't have to be completely foolproof, only enough that the average user wouldn't know how to prevent the "blocked" feature.

Twey
08-27-2005, 09:55 AM
Fascinating. "HTMLProtector" looks very similar to "HTMLBlock," right down to hp_d01().

uno
12-14-2005, 07:31 AM
Has anyone used the protection from http://www.catchlock.com? I will soon launch a website that needs bullet-proof content protection, and catchlock seems the best with its focus on fingerprinting the content rather than preventing downloading. Any comments would be much appreciated.

jscheuer1
12-14-2005, 07:59 AM
Nothing in the demo convinces me (one way or the other) that catchlock can later retrieve this information from a digitally altered copy of the image. However, there were no lines similar between an unaltered copy and an optimized version, suggesting that perhaps the fingerprint was lost in the process. The fact that pop-up blocking must be turned off at a certain point in the demo and javascript enabled means that this will appear obnoxious to many potential users, limiting your sites traffic to those who do not care if they have to enable pop-ups.

Twey
12-14-2005, 02:22 PM
Especially if the images look like this (http://www.catchlock.com/simg.php?img=images%2FPICT2039.JPG&s=%2Fdemo.php%23r1) afterwards... I can't even make out what that's meant to be.

jscheuer1
12-14-2005, 05:19 PM
Especially if the images look like this (http://www.catchlock.com/simg.php?img=images%2FPICT2039.JPG&s=%2Fdemo.php%23r1) afterwards... I can't even make out what that's meant to be.

I don't know why they chose that as a part of their demo but, it is made clear that this is not the typical appearance of one of their 'fingerprinted' images. I think they may have used that as a way to impress nubies

just me
12-24-2005, 08:46 PM
You may find this interesting http://www.web-wise-wizard.com/javascript-tutorials/disable-right-click.html

just me
12-24-2005, 08:50 PM
you may find this interesting http://www.web-wise-wizard.com/javascript-tutorials/disable-right-click.html

mwinter
12-24-2005, 11:03 PM
you may find this interesting http://www.web-wise-wizard.com/javascript-tutorials/disable-right-click.htmlWhy yes. Another example that fails to work.

Mike

Twey
01-06-2006, 04:56 PM
Google. (http://www.google.com/search?q=term1+term2+site:www.dynamicdrive.com)

crapatit
01-17-2006, 09:02 PM
how do i go about disabling javascript if i want to take an image from a website please, anyone know?:)

jscheuer1
01-17-2006, 10:01 PM
Just as I tell folks it can't be prevented, I do not encourage it either.

whatever
.

Twey
01-17-2006, 10:11 PM
I, on the other hand, have no such qualms. So long as it's legal, of course. If not, don't use this.
Firefox/Win: Tools->Preferences->Content->untick "enable Javascript."
IE/Win: Tools->Internet Options->Advanced. It's in there somewhere.

crapatit
01-18-2006, 04:55 PM
cant find "enable javascript" in internet explorer ?

crapatit
01-18-2006, 04:57 PM
and it is legal, you cant take an image or a print screen or print the page or copy anything off this site no matter what you do

http://www.sgobedford.co.uk/Business/productsbusiness/productcatalogbusiness/page1.htm

Twey
01-18-2006, 05:35 PM
That page? For a start, it's broken in just about anything except IE, and runs stupidly slowly even in that.
The following bookmarklet will list all the images on the page, in a different window in which the scripts do not apply:
javascript:(function(){v=window.open();v.document.open();e=document.getElementsByTagName("img");for(i=0;i<e.length;i++) v.document.write('<img src="' + e[i].src + '"/>');v.document.close();})();

Twey
01-18-2006, 05:51 PM
Images like this one (http://www.sgobedford.co.uk/Business/productsbusiness/productcatalogbusiness/X06a/X0701.gif), for example? Or this one? (http://www.sgobedford.co.uk/Business/productsbusiness/productcatalogbusiness/X08/X0823.gif)
All the images and source would be mine, if I were the type to steal images and source and didn't mind getting sued.
And awful source it is too. I mean, look at this.
'<'+'input type="button" name="xqq" value="" onClick=ccd() style="visibility:hidden">An invisible button exists, which later has its click() function called purely for the purpose of calling ccd().

As demonstrated (look at the timespan between the last post and this one), you've made your site Javascript- and IE-dependant for little or no gain.

crapatit
01-19-2006, 09:02 AM
Hi, and thanks for that, I dont want to pinch the guys images, I am in the same trade as him and have a website similar with designs but wondered how he did it. He is very paranoid by the look of it and probably paid a fortune to have his images all "secured up".

Well done

Twey
01-19-2006, 09:31 AM
wondered how he did it.He has a huge script he uses to document.write() the page source. As every web designer knows, document.write() causes a page to render very slowly if overused. Also, because Javascript is used to render the page, no Javascript means no page.

challo
03-21-2006, 01:52 PM
hii i wanted to ask how they disabled the print screen on that sgobedford.co.uk site. i plan on making a site which will mainly be all photos and so dont want people stealing my pics..??

I read what Twey said..is the disabling print screen part of the script you said he uses to document write the page source?

Also im wondering how i do that of making it so the page is only viewable where javascript IS enabled on the browser?? is that all part of the script

Sorry if i sound dumb..i dont kno much about javascript and how it works =/

jscheuer1
03-21-2006, 03:39 PM
hii i wanted to ask how they disabled the print screen on that sgobedford.co.uk site. i plan on making a site which will mainly be all photos and so dont want people stealing my pics..??

I read what Twey said..is the disabling print screen part of the script you said he uses to document write the page source?

Also im wondering how i do that of making it so the page is only viewable where javascript IS enabled on the browser?? is that all part of the script

Sorry if i sound dumb..i dont kno much about javascript and how it works =/

Don't bother, the images are still in the browser cache and can be taken from there. Also, with FF javascript can be enabled but certain scripts disabled, making any javascript protection useless. Also in FF the entire page can be loaded and then javascript disabled, after that no script protection will work but, the page and its images are still there, ripe for the taking.

Twey
03-21-2006, 03:58 PM
hii i wanted to ask how they disabled the print screen on that sgobedford.co.uk site.They didn't. Grabbing a screenshot is still very much possible.
i plan on making a site which will mainly be all photos and so dont want people stealing my pics..??This is what copyright is for. Watermarks help too.
Also im wondering how i do that of making it so the page is only viewable where javascript IS enabled on the browser??This is not a good thing. This is a very very bad thing.
Also in FF the entire page can be loaded and then javascript disabled, after that no script protection will work but, the page and its images are still there, ripe for the taking.Also in FF the entire page fails to work and goes into an infinite loop of popups advising the user that he/she needs a browser of version 4 or higher.

Glikamou
04-10-2006, 08:57 PM
and it is legal, you cant take an image or a print screen or print the page or copy anything off this site no matter what you do

http://www.sgobedford.co.uk/Business/productsbusiness/productcatalogbusiness/page1.htm

Wow I hate that page, Im trying out IE 7.0 thinking of ditching it, I also us FF.
But thats off topic, on visiting that page I have a pop up from microsoft asking me to allow this site to access my clipboard. And the only way to get rid of it it to go to task manager.
Boy that is some bad coding,

jscheuer1
04-10-2006, 09:44 PM
Wow I hate that page, Im trying out IE 7.0 thinking of ditching it, I also us FF.
But thats off topic, on visiting that page I have a pop up from microsoft asking me to allow this site to access my clipboard. And the only way to get rid of it it to go to task manager.
Boy that is some bad coding,

While in Opera, I can just right click on and copy any image to the clipboard, no warnings, no problem.

challo
04-11-2006, 10:21 AM
hi first of all i want say thanks to jscheuer1 and Twey for replying (much appreciated) and apologize for not posting back sooner.

i didnt know what was meant by FF haha *slaps herself* but yeah soon figured that one out heh.

the watermarks im not a fan off makes the pix look horrible =/

and the cache thing well i dont think many people would go to that trouble (i think) the thing is my site is not going to be a professional site, just a personal one but still..

i am interested in the code for disabling the 'print screen' even though i know there is a way around it but would still like to know and the making it so the page is only viewable where javascript IS enabled on the browser..i know you said this is a bad thing but im bad :] lolz

thanks again!

Twey
04-11-2006, 11:03 AM
ARGH. I posted this once, and it appeared six times. Then I deleted the top one of those six posts, intending to get rid of five, and they all vanished. Forum bug?

the watermarks im not a fan off makes the pix look horrible =/You can create totally invisible watermarks.
and the cache thing well i dont think many people would go to that trouble (i think) the thing is my site is not going to be a professional site, just a personal one but still..Then the pictures are not worth "protecting."
i am interested in the code for disabling the 'print screen' even though i know there is a way around it but would still like to knowThere is no way. I thought we made that clear.
and the making it so the page is only viewable where javascript IS enabled on the browser..i know you said this is a bad thing but im bad :] lolzI really wouldn't recommend it. Like I really wouldn't recommend stealing a blind man's cane and putting it out of his reach so he won't be able to break into your house. It's stupid, it's cruel and it's utterly, utterly pointless.

challo
04-11-2006, 05:56 PM
ouch! okay :(

djr33
04-11-2006, 07:20 PM
I can actually imagine some way to make the keys do something else instead of doing a print screen.
However, all you have to do to disable JS is just place another window in the corner of your screen and make most of your screen filled with "your site" in the background.
Then your code won't affect anything.

As Twey says, not worth it.

Twey
04-11-2006, 08:06 PM
I can actually imagine some way to make the keys do something else instead of doing a print screen.It isn't possible. Screen captures are caught by a system-level hook on Windows, and an just-above-X-level hook on everything else, meaning that it's already done its job by the time your script even sees the event.

djr33
04-11-2006, 08:15 PM
Ah. Ok. Still... even if you could figure something out, wouldn't work. Heh.
But... wouldn't work.
So... yeah.
Anyway.... not gonna happen.


Heh. Here's a thought:
Make your images only viewable when the right keys are hit... basically... make it like ctrl+i makes the images shown, or something.
That way, it'll not allow you to push ctrl+ prntscrn at the same time. Then again, prnt+scrn by itself does the job... ctrl just gets rid of the taskbar or some such. Can't remember.

Fun puzzle... not possible though.

Twey
04-11-2006, 08:37 PM
Well, I suppose it would be quite difficult if you assigned print screen to show the images. As I've already said, the screenshot is taken before the script sees the event, so they'd get a nice blank screen on the clipboard. However, a site in which one has to hold down print screen to see the images is hardly a user's dream. Besides, there are still ways around it; like binding another key to take a screenshot, or simply using a bookmarklet to show all the images.

/EDIT: The odd thing I noticed earlier happened in this thread too: after posting, the forum showed me seven copies of my post, but when I refreshed the page, they went away. Definitely server-served, not a browser glitch. Is anyone else seeing this?

Xiong Chiamiov
04-14-2006, 08:34 PM
It isn't possible. Screen captures are caught by a system-level hook on Windows, and an just-above-X-level hook on everything else, meaning that it's already done its job by the time your script even sees the event.
He didn't say a legal, unbrowser-and-os-specific way... lol

Twey
04-14-2006, 08:44 PM
He didn't say a legal, unbrowser-and-os-specific way... lolAnd you didn't read (or understand) my post properly :)

Xiong Chiamiov
04-14-2006, 08:47 PM
And you didn't read (or understand) my post properly :)
Didn't I? I was insinuating using a drive-by download of one of them key changer thingys. I haven't gotten xp doing this kinda stuff, so I don't know 'bout it much at all. But of course we wouldn't want to do that anyway.

afree87
07-26-2006, 08:14 PM
Hey, check out the Print Screen protection on this page:

http://research.norfolkdeeds.org/ALIS/WW400R.HTM?WSIQTP=SY60V&W9CTLN=00042&W9RCCY=1998&W9RCMM=02&W9RCDD=13&W9WINM=DC450001.TIF

Once you get it out of the frame it was originally and view the source from there, it's ridiculously easy to print out the image (it's just a TIFF file), but it's pretty obnoxious. Is it possible to make a bookmarklet that will swipe the image name for me?

mburt
07-29-2006, 12:18 AM
i suggest adding a filter
<img style="filter:blur(strength=50)" src="whatever.jpg">

mburt
07-30-2006, 02:46 AM
it's still not foolproof. they can still get the src of the image, and get it from there. it's very hard to mask

djr33
07-30-2006, 07:29 AM
This won't work. Give up.

Clearly, the only way is through an example.

Post your example of a page, and give me 2 minutes to steal your images.

Really. Do it.

shachi
07-30-2006, 08:19 AM
Well, you can apply preventDefault() for firefox and return = false; for IE.

Twey
07-30-2006, 02:35 PM
But it still isn't effective. :)

mburt
07-30-2006, 04:19 PM
Yup. This is impossible, even if you can cover up the image, the original src is still there. What you should do is edit the image with Paint Shop Pro, or whatever. That way, there's no way they can get the original picture.

Ellie
09-12-2006, 06:18 PM
I found this thread while looking for a way to be able to copy-paste despite having one of those websites open (not from that website, necessarily). I own, among other things, a tutorial group and often have a lot of windows open copying-pasting tutorial links. I find it terrible that people that have those scripts on their sites do not care at all that they are disabling your clipboard for your entire computer. I have written to web site owners having this script on to tell them that this is happening to the visitor's entire computer, not just for their site, thinking that maybe they just didn't know. What I found was that most of them do know and don't care.
I own an extremely large web site myself and I am aware that while some can steal from me, there's really nothing I can do about it but to watermark the images, which I do. Some site owners are just paranoid about the stealing to the point where friends of mine have shut down their sites to avoid it. I figure, why should I make myself nuts about things I can't avoid, and I sure won't shut down my site, which I love working on.
Those of you that are talking about disabling clipboards, emptying clipboards, disabling print screen. Please be aware that you are trampling on people's rights and all to no avail, if someone wants your stuff, they will get it.
I had someone steal an entire page of mine, word for word, and they put protective scripts on it! Why, so I can't steal my page back? I found a better way to deal with it and, believe me, they were only too happy to remove my page when I was done. And with an apology from them (although they swore at first it was their own page). It's called having friends and giving them their guestbook address and email address.
Please think twice before you use these scripts. Use what you want on your own site but when it affects people's computers and their ability to use it, think twice, please.
As for myself, through reading this thread and one other, I found out that opening these pages in Firefox lets me continue to use my clipboard. I'm a happy camper. I use Firefox all the time but didn't think about using it for this purpose.
Hugs, Ellie

jscheuer1
09-12-2006, 10:35 PM
I found this thread while looking . . .
Hugs, Ellie

I think that you may be the first person who, as a first time poster to a thread like this, actually gets it. My hat is off to you, glad we could be of help, and welcome to the forum!

mburt
09-12-2006, 10:48 PM
Yes, someone who finally finds these things ANNOYING!! And again, welcome to the forum :)

Twey
09-12-2006, 11:17 PM
Ellie, I think you've just managed to recruit several friends for life :) Good on you.

And... what he said. ↑

boxxertrumps
09-17-2006, 04:05 PM
this *may* seem a bit obvios, but what about File->Save Page As then picking "complete Html Document" As the type? wouldn't that be a simple and easy way to get every single file. Everything? even if the site has right click or print screen blocked, that is a browser function and cannot be stoped by the webpage.

Twey
09-17-2006, 04:12 PM
No. It's been discussed earlier in the thread.

djr33
09-18-2006, 07:30 AM
I've just been rereading for old times sake. Amusing.

And, I'm also very amused by using a Mac. First, even if there was a way to disable screen capture, a mac operates in a totally different way and therefore would be free to capture. (note that a pc could too by using a screen capture application, rather than just the prnt scrn key).
Safari also handles javascript differently, so it's as easy as drag and drop to my desktop (really) to get the images off of those pages mentioned earlier.

By the way, Hi, Ellie. Welcome.

Twey
09-18-2006, 06:39 PM
Safari also handles javascript differently, so it's as easy as drag and drop to my desktop (really) to get the images off of those pages mentioned earlier.Firefox/KDE can do that too, I just realised. :)

jscheuer1
09-18-2006, 08:05 PM
Safari also handles javascript differently, so it's as easy as drag and drop to my desktop (really) to get the images off of those pages mentioned earlier.
Firefox/KDE can do that too, I just realised. :)

I love that about FF. I can even drag images into my 'file open' or 'file save as' dialogue boxes on my editor to get them into the directory where I am editing the code that uses them.

blm126
09-18-2006, 08:38 PM
Opera can drag images too. That only leaves out IE(who would have guessed)

mburt
09-18-2006, 09:00 PM
Hmm... It appears that Ellie has disapeered. Ah well.

paper628
03-26-2008, 09:54 PM
:)Wow, I can so easily get picture's from any site with even the most high tech way to prevent copying, It's a simple function in my browser!:)

Not saying that I would steal copyright cause that's illegal

boogyman
03-27-2008, 01:34 PM
I know it's fun to delve into the archives, but you do realize this thread is from 2006 right?

Twey
03-27-2008, 08:24 PM
2004 originally.

djr33
03-27-2008, 10:26 PM
And it's still not possible. Imagine that.

BruceDeVries
02-02-2011, 11:34 AM
Does anyone know of a way to do this? I have the disable right click, disable left click, and cut-and-paste code. How about Ctrl Print Screen? Thanks in advance for your help!
I have been working on a way to stop image capture from a web site. I was able to disable the right click using Java Script. My tabbed panels require Java Script to work, so Java script has to be enabled to navigate to the photos I want to protect. I was also able to disable the print Screen function. See Script below insert between <HEAD> tags.

<SCRIPT type="text/javascript">
focusInput = function()
{
document.focus();
};

processKeyEvent = function(eventType, event)
{
// MSIE hack
if (window.event)
{
event = window.event;

}
if(event.keyCode==44)
{
alert("Photos are copyright 2011");
return(false);
}
}
processKeyUp = function(event)
{
processKeyEvent("onkeyup", event);
};


// disables right click


message = "Right clicking is disabled!\n Pictures are copyright 2011.";

function NoRightClick(b) {
if(((navigator.appName=="Microsoft Internet Explorer")&&(event.button > 1))
||((navigator.appName=="Netscape")&&(b.which > 1))){
alert(message);
return false;
}
}
document.onmousedown = NoRightClick;
document.onkeyup = processKeyUp;
// -->

</SCRIPT>



<HEAD>

Even with the right click and print screen disabled there are ways to grab images off a web site. Note capturing the clipboard does not work with IE 9. When the script attempts to clear the clipboard a dialog box pops up asking you if the web page can access the clipboard. You can also disable caching with a meta tag, but the images are still stored in temporary files while the page is being displayed. The best way to protect your images is to deface them, so no one would want them. This can be done with a visible watermark, blacking out the eyes or using a radial blur filter with Photoshop. Using a Visible watermark like Digimark system also registers the photos to you is case you need to prove you are the source of the images.

goldengel
02-03-2011, 02:58 PM
Hi

As far as I understand all messages:
The KeyPress comes from your keyboard
> goes not to the hardware interpreter of the keyboard which is sending a binary code to the CPU
> the CPU sends this message to Windows Kernel. Here is the key. Windows sends the message to the Keyboard manager (depending on language)
> Now the Keyboard driver sends this key to the software with GUI
< The Software, in most cases, is a tool which is working with default Microsoft OS controls which means, they offer you to "print character on screen" or "receive character to react".


Ok, now you want to avoid that the user can press the "Print screen" button. In offline software you can do this by using LowLevel Keyboard Access. That means you are talking with the part of Microsoft Kernel interfaces.

But with browser, the developer of the browser has to offer you this low level access. And I do not know any browser who does this.

You need to install an activeX component on local computer of own application on local computer with LowLevel Keyboard access.

Check out this German page (perhaps you can translate it) which explains more about Keyhooks.

http://www.activevb.de/tutorials/tut_keylogger/keylogger.html
Regards