PageSourceSearch

https://www.kovalam.com/frontend/js/ltr.js

js kovalam.com collected 2026-10-02 22:10:39 UTC 865 bytes, 24 lines download raw bytes

1document.addEventListener('DOMContentLoaded', function () {
2    const openModalLinks   = document.querySelectorAll('#openModalButton, .open-modal-link');
3    const customModal      = document.getElementById('customModal');
4    const closeModalButton = document.getElementById('closeModalButton');
5
6    if (!customModal || !closeModalButton) return;
7
8    openModalLinks.forEach(function (link) {
9        link.addEventListener('click', function (event) {
10            event.preventDefault();
11            customModal.style.display = 'block';
12        });
13    });
14
15    closeModalButton.addEventListener('click', function () {
16        customModal.style.display = 'none';
17    });
18
19    window.addEventListener('click', function (event) {
20        if (event.target === customModal) {
21            customModal.style.display = 'none';
22        }
23    });
24});

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.