From cbe8f214241b787b721bc142aeb4586e927c4f28 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:21:33 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/tr/1.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/JAVASCRIPT/tr/1.js b/JAVASCRIPT/tr/1.js index ad54374..728fa5e 100644 --- a/JAVASCRIPT/tr/1.js +++ b/JAVASCRIPT/tr/1.js @@ -1,14 +1,3 @@ -// Kullanıcının tarayıcı dilini al - const userLang = navigator.language || navigator.userLanguage; - - // Eğer tarayıcı dili Türkçe ise /tr/index.html sayfasına yönlendir - if (userLang.startsWith('tr')) { - window.location.href = '/tr/home.html'; - } else { - // Eğer İngilizceyse /en/index.html sayfasına yönlendir - window.location.href = 'home.html'; - } - /*SCROLL REVEALING*/ document.addEventListener('DOMContentLoaded', () => { const textContainer = document.getElementById('animatedTextContainer');