How to Identify Screenshot

Asked

Viewed 427 times

2

How do I identify if any screenshots are happening on the site.

For example, Netflix when you’re watching a movie or series and try to take a print it makes the print result totally black.

How can she identify the act of taking a print? Is with javascript?

1 answer

3

Short answer:

There is no reliable way to detect screenshot.

Long answer:

There are several ways the operating environment captures what is being displayed; this is true for both Windows and Linux and Macos. Not all ways generate interruptions, and the vast majority of these are not monitored by browsers.

What you see when you take a screenshot while watching Netflix is the result of another technology: DRM (digital Rights management, or digital rights management). A screen capture function includes only content that is not marked as safe.

An integration between the streaming (adding DRM to the content), the browser which displays the stream (which marks the areas of the screen that are displaying content with DRM) and the operating environment (which identifies displays secure that have encryption technology between the video source and the device) allows you to view the content, but prevents copies by OS for processes that are not part of the rights management chain.

  • Just one observation: there are many situations where the video print is not captured for a simple technical matter: the video cards do not draw the "movie" or video on the screen, but on an "overlay" (like a picture in picture), and that depends on how OS is mounting this overlay (it was more common in XP, with no 3D acceleration). In windows with Aero, for example, the layers are mounted on a final image, so you have more chance of the video appearing. (Most of the time I see black screen in video print is definitely not by DRM) - I will delete the comment after you warn q read.

  • Eia @Bacco! Yes, you’re right. I remember this feature, and that from time to time the 'frame' was outside the area - which resulted in an edge showing the background of the overlay. The example I gave focused on HDCP because of the scope. Thank you for the comment - please do not delete it as it adds to the content of the reply.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.