PageSourceSearch

https://www.kimep.kz/wp-content/themes/kimep/js/scripts.js

js kimep.kz collected 2026-09-24 09:18:49 UTC 1,214 bytes, 36 lines download raw bytes

1document.addEventListener("DOMContentLoaded", () => {
2    if (document.referrer) {
3        console.log(document.referrer);
4    } 
5    document.querySelectorAll('.c-lazyload').forEach(el => {
6        el.style.opacity = '0';
7    });
8    setTimeout(function () {
9        document.querySelectorAll('.c-lazyload').forEach(el => {
10            el.style.opacity = '1';
11        });
12    }, 400);
13    
14    document.querySelectorAll('table[width="100%"]').forEach(table => {
15        const parent = table.parentElement;
16    
17        if (!parent || getComputedStyle(parent).overflowX !== 'auto') {
18            const wrapper = document.createElement('div');
19            wrapper.style.overflowX = 'auto';
20    
21            table.parentNode.insertBefore(wrapper, table);
22            wrapper.appendChild(table);
23        }
24    });
25    document.querySelectorAll('.page-back').forEach(function(el) {
26        if (document.referrer) {
27            var a = document.createElement('a');
28            a.href = document.referrer;
29            a.innerHTML = el.innerHTML;
30            el.innerHTML = '';
31            el.appendChild(a);
32        } else {
33            el.style.display = 'none';
34        }
35    });
36});

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.