mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
- kopieren von fragen erschweren
This commit is contained in:
@@ -434,6 +434,26 @@ if (isset($_POST['save']) && isset($_SESSION['prestudent_id']))
|
||||
});';
|
||||
?>
|
||||
|
||||
$(document).bind('cut copy paste', function(e)
|
||||
{
|
||||
if (document.querySelector('.frage'))
|
||||
{
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
$(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();
|
||||
});
|
||||
// If Browser is any other than Mozilla Firefox and the test includes any MathML,
|
||||
// show message to use Mozilla Firefox
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
Reference in New Issue
Block a user