PageSourceSearch

https://docs.atas.net/en/atas_custom.js?v=1749634007

js atas.net collected 2026-09-24 20:39:47 UTC 1,176 bytes, 25 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function() {
2  // Находим элемент с id="titlearea"
3  var titleArea = document.getElementById("titlearea");
4
5  // Добавляем обработчик события click к этому элементу
6  titleArea.addEventListener('click', function(event) {
7    // Проверяем, был ли клик по ссылке
8    var clickedElement = event.target;
9    
10    // Проходим вверх по DOM-дереву, чтобы найти родительскую ссылку
11    while (clickedElement && clickedElement \!== titleArea) {
12      if (clickedElement.tagName === 'A') {
13        // Если кликнули по ссылке, не блокируем стандартное поведение
14        return;
15      }
16      clickedElement = clickedElement.parentElement;
17    }
18    
19    // Если клик был не по ссылке, переходим на index.html
20    window.location.href = 'index.html';
21  });
22
23  // Делаем курсор в виде руки, чтобы показать, что элемент кликабельный
24  titleArea.style.cursor = 'pointer';
25});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.