Update index.html

This commit is contained in:
FURK4NGG
2025-03-18 21:37:38 +03:00
committed by GitHub
parent 33b768b255
commit d6fdf26902
+1 -10
View File
@@ -28,16 +28,7 @@
<body> <body>
<div id="body_index"><div id="ref_div" align="center"><h1 id="ref">-You are being redirected to the homepage-</h1></div></div> <div id="body_index"><div id="ref_div" align="center"><h1 id="ref">-You are being redirected to the homepage-</h1></div></div>
<script> <script>
document.addEventListener('DOMContentLoaded', () => {
const userLang = navigator.language || navigator.userLanguage;
// İçeriği dil tercihine göre yönlendirme
if (userLang.startsWith('tr')) {
window.location.href = '/home_tr'; // Türkçe içerik
} else {
window.location.href = '/home_en'; // İngilizce içerik
}
});
const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled const disabledKeys = ["c", "C", "x", "J", "u", "I"]; // keys that will be disabled
const showAlert = e => { const showAlert = e => {