How can I prevent a screenshot from the phone on my site by javascript or jquery
Asked
Active
Viewed 214 times
-4
-
6You cannot. A screenshot doesn't need to use the browser and usually doesn't - it tends to be an OS feature. You cannot block OS functionality. – VLAZ Sep 20 '19 at 10:08
-
1That's like asking you how to prevent the phone from being switched off via javascript. – freedomn-m Sep 20 '19 at 10:10
-
But how this is done via Facebook from the phone : Browser – Spy Share Sep 20 '19 at 10:18
-
2Just took a screenshot of chrome with facebook open - no worries. Are you sure you've opened facebook in a browser (which browser?) and not the facebook app? – freedomn-m Sep 20 '19 at 10:41
1 Answers
0
You can't. It's done at the OS level, your code doesn't get a chance to decide whether the user can take a picture of what they're seeing.

T.J. Crowder
- 1,031,962
- 187
- 1,923
- 1,875
-
-
-
1@SpyShare - It isn't, reliably. I just took a screenshot in Facebook on my iPhone. – T.J. Crowder Sep 20 '19 at 10:47