Hacker News story: Ask HN: How is Netflix able to prevent screenshots on Chrome?

Ask HN: How is Netflix able to prevent screenshots on Chrome?
The other day I tried to screenshot a funny frame in a Netflix video to show to a friend and the image came out black. I tried both the `prtsc key` and the `Snipping Tool`. This got me wondering is JavaScript able to interfere with the built-in OS printscreen function ? I was using Chrome on a Windows 10 machine, and in the end, strangely enough, I was able to take the screenshot on the Netflix Android app. 0 comments on Hacker News.
The other day I tried to screenshot a funny frame in a Netflix video to show to a friend and the image came out black. I tried both the `prtsc key` and the `Snipping Tool`. This got me wondering is JavaScript able to interfere with the built-in OS printscreen function ? I was using Chrome on a Windows 10 machine, and in the end, strangely enough, I was able to take the screenshot on the Netflix Android app.

Hacker News story: Ask HN: How is Netflix able to prevent screenshots on Chrome? Hacker News story: Ask HN: How is Netflix able to prevent screenshots on Chrome? Reviewed by Tha Kur on October 31, 2021 Rating: 5

No comments:

Powered by Blogger.