0

I am creating a website, and facing some problem -
I want to Prevent Screenshot in Website when it is tested on Mobile Phone.
I used jQuery for Desktop view It's working fine but how to prevent in mobile

Is it possible to prevent screenshot?

 function copyToClipboard() {
  var aux = document.createElement("input");
  aux.setAttribute("value", "print screen disabled!");      
  document.body.appendChild(aux);
  aux.select();
  document.execCommand("copy");
  // Remove it from the body
  document.body.removeChild(aux);
  alert("Print screen disabled!");
}
Anjali Patel
  • 807
  • 2
  • 11
  • 23

1 Answers1

3

No, it is not possible to prevent screenshots from mobile.

Chao1920
  • 155
  • 1
  • 8
  • Are you Sure ? @Chao1920 – Anjali Patel Mar 07 '19 at 06:00
  • https://stackoverflow.com/questions/28606689/how-to-prevent-screen-capture-in-android – Chao1920 Mar 07 '19 at 20:17
  • I don't want to develop an android app. But When I am checking my website on an android phone through Browser so how can I prevent screen capture? @Chao1920 – Anjali Patel Mar 08 '19 at 04:50
  • I don't see any solution anywhere. I've been looking all over to my best abilities. I keep finding post like these where its says is not possible. Have you not searched through Stackoverflow yourself before asking this question? https://stackoverflow.com/questions/33007905/is-there-any-way-to-disable-the-screenshot-to-the-particular-website-image-can – Chao1920 Mar 08 '19 at 09:09
  • 1
    Ok, Thank you. I had search but not got the solution so I posted this. @Chao1920 – Anjali Patel Mar 08 '19 at 09:47