- kopieren von fragen erschweren

This commit is contained in:
ma0048
2023-12-11 13:30:39 +01:00
parent 483b6171c7
commit 8f46613620
6 changed files with 96 additions and 3 deletions
+12
View File
@@ -71,6 +71,18 @@ function changeSprache(sprache)
parent.menu.location.href = parent.menu.location.pathname + '?sprache_user=' + sprache; // refreshes menu.php
parent.content.location.href = parent.content.location.pathname + '?' + content_params; // refreshes login.php or frage.php
}
$(document).on("keydown", function (e) {
if (((e.ctrlKey || e.metaKey) && e.keyCode === 85) || e.keyCode === 123)
{
e.preventDefault();
}
});
$(document).on("contextmenu", function (e)
{
e.preventDefault();
});
</script>
<body>
<?php