Hi
The screenshot is a feature of OS in windows.
All of these are controlled by our operating system and we cannot disable or block them in the browser using HTML/CSS/JavaScript.
So, we can't prevent users from taking screenshots.
but we can use some methods to avoid this all to some extent.
1.Disable printing options for web pages.
2.Change text selection with CSS
3.Display a warning message to users not to copy/steal/print/screenshot our web pages.
4.Add the copyright information of the web page, showing that all the content of the web page belongs to us, and it is strictly prohibited to use our content in any form.
Note:There is no way to prevent users from taking pictures with external cameras
For related information, see:https://www.geeksforgeeks.org/is-it-possible-to-prevent-users-from-taking-screenshots-of-webpage/