I'm trying to stop the user to select and copy text when he is on the print screen.
I used this CSS to disable select.
.disable-select {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by any browser but < IE9 */
}
<body class="disable-select">
...
</body
And this jquery to prevent copy, paste and right click option in my webpage
$(document).bind('contextmenu cut copy', function (e) {
e.preventDefault();
});
It works on the webpage but when we press ctrl+p to print the web page and went on the print options screen, none of the above code work on this screen