diff --git a/index.html b/index.html index cac354d..4641178 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,21 @@ + + + + + +
@@ -1346,12 +1361,16 @@ © 2025 ИКП. Все права защищены. GL HF - - -
- - Визиты: 0 -
+ + + + Яндекс.Метрика + + @@ -1500,26 +1519,6 @@ window.addEventListener('resize', updateVacanciesCarousel); } - // Счётчик посещений (Hybrid Local + Remote API) - const counterVal = document.getElementById('visit-counter-val'); - if (counterVal) { - let localVisits = parseInt(localStorage.getItem('ikp_visits') || '0', 10); - localVisits += 1; - localStorage.setItem('ikp_visits', localVisits); - - counterVal.textContent = localVisits; - - fetch('https://api.counterapi.dev/v1/zaglushka_ikp/visits/increment') - .then(response => response.json()) - .then(data => { - if (data && data.value) { - counterVal.textContent = data.value; - } - }) - .catch(err => { - console.warn("CounterAPI error, falling back to localStorage:", err); - }); - } });