{
const textProtectionStyle = document.createElement("style");
    textProtectionStyle.type = "text/css";
    textProtectionStyle.innerHTML = 'body {-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}';
    document.head.appendChild(textProtectionStyle);document.addEventListener("contextmenu", function(event) {
if ((event.target || event.srcElement).style.backgroundImage) {
    event.preventDefault();
}
});}