Javascript to detect when a user saves a webpage?
4 answers
It can't - and maybe some browser extensions can do it, but it's very impractical even if casual users install them just for that.
But you could, for example, try other methods:
- custom function of the right mouse button - enable saving the custom save page (when entering the backend),
- grabbing CTRL + s (as mentioned by Juan Mendes),
- has some sort of on-page tracking that only fires when the page is not accessible via your domain (like an image on your server that is only requested with specific conditions) ...
- offers a PDF document to save and measure its requests (via a backend method) ...
So - soon - there is no 100% solution ...
+1
source to share