Update 1.js

This commit is contained in:
FURK4NGG
2024-09-09 19:24:21 +03:00
committed by GitHub
parent 9870f76f39
commit eaf6dba7ac
+1 -1
View File
@@ -316,7 +316,7 @@ observer.observe(skillsDiv);
const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled
const showAlert = e => {
e.preventDefault(); // preventing its default behaviour
return alert("Sorry, you can't view or copy source codes this way!");
return alert("Üzgünüz, kaynak kodlarını bu şekilde görüntüleyemez veya kopyalayamazsınız!");
}
document.addEventListener("contextmenu", e => {
showAlert(e); // calling showAlert() function on mouse right click