istener('gesturechange', function (e) {
      e.preventDefault();
    });
    document.addEventListener('gestureend', function (e) {
      e.preventDefault();
    });

    // Disable right-click
    document.addEventListener("contextmenu", function (e) {
      e.preventDefault();
    });

    // Block certain keyboard shortcuts
    document.addEventListener("keydown", function (e) {
      if (e.ctrlKey && (e.key === "r" || e.key === "R")) {
        e.preventDefault();
      }
      if (e.key === "F12" || (e