How to Disable Print-Screen Functionality for a Webpage in All Browsers

How do i prevent from printscreen of my webpage?

There is no way that you can stop a client machine from being able to print screen.

Stop User from using "Print Scrn" / "Printscreen" key of the Keyboard for any Web Page

You can't disable screen grabbing from the Web browser, it would only be possible by installing additional software on the user's PC.

There are some IRM (Information Rights Management) tools available that do that e.g. by protecting Windows/DirectX API calls and also monitoring video memory such as Oracle IRM or such as Microsoft's IRM technology.

Especially the latter might be of interest as there is also a Rights Management Add-on for Internet Explorer.

But as other already said, any IRM/DRM technology is controversy and you should understand that it most often will limit or annoy your users.

How to disable printing options in the browser for certain pages

You cannot disable the actual buttons/menu items but you can use following in required pages to prevent printing:

<style type="text/css" media="print">
BODY {display:none;visibility:hidden;}
</style>

How to disable the print screen?

You can't. It's beyond your control, because print screen is not a browser feature it's a system feature.

disable print screen key using javascript

You can't. It's beyond your control, because print screen (unlike the in-browser print icon/Ctrl-P) is not a browser feature but a system feature.

Besides, any such attempt is futile and ultimately counter-productive. Because you will piss off the Joe Random User who wants to print the page because they want to read it on the bus or whatever and won't stop somebody who wants to abuse the images as they can always take advantage of the fact that the device is ultimately under their physical control and no software in the world can do anything against modification of the device (e.g. using a monitor with screen capture).

How to disable the print screen?

You can't. It's beyond your control, because print screen is not a browser feature it's a system feature.



Related Topics



Leave a reply



Submit