Update 404.html
This commit is contained in:
@@ -20,17 +20,6 @@
|
|||||||
<p class="output">Good luck.</p>
|
<p class="output">Good luck.</p>
|
||||||
</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 => {
|
||||||
e.preventDefault(); // preventing its default behaviour
|
e.preventDefault(); // preventing its default behaviour
|
||||||
|
|||||||
Reference in New Issue
Block a user