开发者

Disable Clipboard & Print Screen on webpage

开发者 https://www.devze.com 2022-12-23 06:45 出处:网络
i search online but can\'t get satisfactory result i want to protect images on m开发者_Python百科y website, i know i can disable save as, right click.

i search online but can't get satisfactory result

i want to protect images on m开发者_Python百科y website, i know i can disable save as, right click.

the real question is can we Disable Clipboard & Print Screen with JQUERY or java script.

so no image copy from print screen.

thanks


Not from a webpage.


Even if you were able to disable these from within a browser, it will only stop a casual user. If you make a resource available on a public server (as you must in order to let a casual user view it), there really is no way to stop someone from retrieving that resource. After all, you actually want the user to retrieve the resource.


No. I am pretty sure you can't do that. Print screen is a part of the OS, not the browser. I would hope that web sites weren't able to mess with my OS like that.

You can certainly throw roadblocks in front of people trying to download an image, but short of watermarking, there isn't a great way to prevent people from getting your image (that I know of) if you make it available online.


No you can´t. And you can´t disable right click in a bullet proof way either.

The only way to protect your images is by watermark them.


Print Screen is a function of the operating system, and as such, cannot be disable by a webpage.

Actually, you can't disable anything. I know you technically can, but most browsers have an option to not allow disabling of those things. And really, worst case scenario, anyone can view the source of your site and copy the image's url.

In short, don't worry about it so much. Some people will copy your images, but this is nothing new on the internet, so you'll just have to learn to live with it. The only thing that any of your work will do is annoy some people, and make other people have to try a little bit. So, it's really best to not do anything. Place a copyright notice on your site and most people won't try to blatantly steal from you.


The only way to do what you're requesting is to incorporate OS-embedded DRM into your content (think HDCP). This can prevent even screenshots from being done but will severely limit your audience and is an absolutely horrible idea - don't do it!

If you really want to protect your images, the best way to do it is with watermarks and providing very low-quality images on your website and the high-quality stuff in some other way. The watermarks aren't a perfect solution but many consider them good enough.


Well there is no direct way to do that, but I used javascript to hide the content whenever the user hovers outside the website. This forces the user to actually activate your page to be able to see its content. This will activate the javascript that prevents prnt scrn too.

0

精彩评论

暂无评论...
验证码 换一张
取 消