| | |
Disabling Print Screen keypress in IE
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Apr 2008
Posts: 4
Reputation:
Solved Threads: 0
Hi,
I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key.
The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed.
There are applications like Snagit, Winsnap, etc.. which can take screen shots and store directly somewhere in the hard disk. For these applications, the Print Screen key in the keyboard is used as a hotkey.
I want to know if there is any way to detect the print screen keypress in IE?
Would appreciate any help or clue.
Thanks
I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key.
The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed.
There are applications like Snagit, Winsnap, etc.. which can take screen shots and store directly somewhere in the hard disk. For these applications, the Print Screen key in the keyboard is used as a hotkey.
I want to know if there is any way to detect the print screen keypress in IE?
Would appreciate any help or clue.
Thanks
You do realize that even if you did find out a way to do this that users could just disable javascript then take a screenshot(or do anything else that javascript is 'protecting') then re-enable javascript, right?
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
•
•
Join Date: Apr 2008
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
You do realize that even if you did find out a way to do this that users could just disable javascript then take a screenshot(or do anything else that javascript is 'protecting') then re-enable javascript, right?
The page will go blank if the page loses focus. So, this will not allow the user to go thro the content if he opens the menu to disable javascript.
Moreover, there is no menu displayed in the browser for this site, it opens in a new window (supposed to be a full-screen, which is not possible in either FF or IE), where I have tried not to display the menu bar, status bar, address bar, and any toolbar.
In Firefox, whenever the Print Screen key is pressed, the page goes blank. I just want to know if there is any way we can listen to the Print Screen key from Internet Explorer.
Either using js or flash or any other way..
Not unless you have software running on their system. Even if you did I could probably guarantee that no one would be happy with that invasion of privacy.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
You do not have the RIGHT to mess with someone else's computer. That includes the clipboard. It does not belong to you.
That person may have multiple windows open, where he is actively using the clipboard to move content between documents. He might even be doing this automatically under a script. If he pauses to check his email, and someone links him to your page, he is going to be really mad when his clipboard contents from the other process are disrupted. And if he gets someone's porn pictures in a customer's file (instead of his engine parts diagram), because you were messing with the clipboard, you might get slapped with a charge of computer invasion.
If your precious pictures are so valuable, then DON'T put them on a website. Suggestions on legal ways of doing what you want without breaking laws:
- If you are selling the photos, put low resolution versions on the site. Make sure you actually reduce the file size, not just the dimensions. Last week, I downloaded a thumbnail, and found the entire picture in the file - at 1200 px/in - I just had to enlarge it with a photo editor, reducing the resolution to 200 px/in in the process.
- If the user is paying for a download, I should think he should have the right to save a copy.
- If the person saved a copy for private use for research purposes, it is legal. The copyright law allows for scholarly research uses, and you have no right to prevent it.
- If the person downloads a picture for the sole purpose of preserving the ability to look at it after you remove it while changing your site, how is that hurting you?
- If you are worried that someone might use your pictures on other websites, post a warning that such use will be subject to litigation. If you find your picture on such a site, usually a notice of intent to sue will get it off there fast. I have already done that once, for an animation it took me hours to create.
- Realize that if the browser has downloaded your pictures to display them, they do not disappear from the Internet cache until he clears his cache or downloads something big enough to overwrite the memory. He can go to My Computer at any time and recover the picture from the cache. Also realize that you do not have the right to mess with his cache.
- Also, if he can see the URL of the picture (obtained in various ways), he can type in that URL and get the picture with no scripts running.
The Internet is designed for sharing information, not hiding it.
That person may have multiple windows open, where he is actively using the clipboard to move content between documents. He might even be doing this automatically under a script. If he pauses to check his email, and someone links him to your page, he is going to be really mad when his clipboard contents from the other process are disrupted. And if he gets someone's porn pictures in a customer's file (instead of his engine parts diagram), because you were messing with the clipboard, you might get slapped with a charge of computer invasion.
If your precious pictures are so valuable, then DON'T put them on a website. Suggestions on legal ways of doing what you want without breaking laws:
- If you are selling the photos, put low resolution versions on the site. Make sure you actually reduce the file size, not just the dimensions. Last week, I downloaded a thumbnail, and found the entire picture in the file - at 1200 px/in - I just had to enlarge it with a photo editor, reducing the resolution to 200 px/in in the process.
- If the user is paying for a download, I should think he should have the right to save a copy.
- If the person saved a copy for private use for research purposes, it is legal. The copyright law allows for scholarly research uses, and you have no right to prevent it.
- If the person downloads a picture for the sole purpose of preserving the ability to look at it after you remove it while changing your site, how is that hurting you?
- If you are worried that someone might use your pictures on other websites, post a warning that such use will be subject to litigation. If you find your picture on such a site, usually a notice of intent to sue will get it off there fast. I have already done that once, for an animation it took me hours to create.
- Realize that if the browser has downloaded your pictures to display them, they do not disappear from the Internet cache until he clears his cache or downloads something big enough to overwrite the memory. He can go to My Computer at any time and recover the picture from the cache. Also realize that you do not have the right to mess with his cache.
- Also, if he can see the URL of the picture (obtained in various ways), he can type in that URL and get the picture with no scripts running.
The Internet is designed for sharing information, not hiding it.
Last edited by MidiMagic; Apr 14th, 2008 at 4:46 pm.
Daylight-saving time uses more gasoline
•
•
•
•
Hi,
I want to know if it is possible for Internet Explorer to detect any action on the "Print Screen" key.
The website needs its content to be secured as much as possible. The clipboard is being cleared for every fraction of a second, until this web-application is closed.
There are applications like Snagit, Winsnap, etc.. which can take screen shots and store directly somewhere in the hard disk. For these applications, the Print Screen key in the keyboard is used as a hotkey.
I want to know if there is any way to detect the print screen keypress in IE?
Would appreciate any help or clue.
Thanks
There is a topic on this issue here:
http://www.daniweb.com/forums/post64...tml#post645889
You might findit very hepful...
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Javascript and Ajax callback
- Next Thread: doubt in javascript
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file form forms google gwt gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump libcurl math matrixcaptcha microsoft mimic object onerror onmouseoutdivproblem onreadystatechange parent pdf php player post problem progressbar rated rating regex runtime scroll search security select session shopping size software sql star stars synchronous text textarea unicode validation w3c web website window windowofwords windowsxp wysiwyg xml \n






