Update index.html
This commit is contained in:
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user