1

I would like to know if there is any solution to lock the screen print, and if possible the screen recording (although I find it difficult), from a progressive web app.

Some mobile applications have this functionality, however I would like to know the possibility of this in progressive web apps, without installation.

Grateful!

3
  • 1
    Welcome to SO. It is normally good practice to include example code and what you have tried so far. – Commented Feb 10, 2020 at 22:01
  • You will never have that ability. A user can always take a screenshot on their android phone. Or take a picture of their screen. Do you know of apps that prevent taking a screenshot?
    – Mathias
    Commented Feb 10, 2020 at 22:51
  • Thank you all for the tips and answers.
    – Luiz Cunha
    Commented Feb 12, 2020 at 14:07

1 Answer 1

2

This is not possible in a web app at the moment. You have maybe found out already, but already a lot of people asked this and it is simply not possible. In a native Android/iOS app you can catch this behaviour but the browser can't.

Here are some resources that talk about this, some have glitchy tricks to do this but it's never screenshot proof :

One tip that maybe sounds obvious, just don't put things on the internet you don't want to be saved, or whatever you are trying to protect your content from.

If you want to prevent copy-paste that's possible, but not what the question is about.

Not the answer you're looking for? Browse other questions tagged or ask your own question.