PageSourceSearch

https://kladm.ru/assets/templates/kladm/js/main.js

js kladm.ru collected 2026-10-02 18:02:25 UTC 1,516 bytes, 32 lines download raw bytes

1$(document).ready(function(){
2  $('div.readmore .inner').load('moreinfo.html',function(){
3    $('div.readmore .inner code.html').chili();
4    $('div.readmore .inner code.color').removeClass("color").addClass("html")
5    .each(function(){
6      $(this).text( "<a " + $(this).text() + ">" ).chili()
7      t = $(this).html();
8      $(this).html(t.substr(37,t.length-80).replace(/ /,""))
9    });
10    });
11  $('a.readmore').toggle(
12    function(){$(this).html("Close").get(0).blur(); $('div.readmore').slideDown(); return false;},
13    function(){$(this).html("Read More").get(0).blur(); $('div.readmore').slideUp(); return false;});
14});
15
16function checkCookies(){
17    let cookieDate = localStorage.getItem('cookieDate');
18    let cookieNotification = document.getElementById('cookie_notification');
19    let cookieBtn = cookieNotification.querySelector('.cookie_accept');
20
21    // Если записи про кукисы нет или она просрочена на 1 год, то показываем информацию про кукисы
22    if( !cookieDate || (+cookieDate + 31536000000) < Date.now() ){
23        cookieNotification.classList.add('show');
24    }
25
26    // При клике на кнопку, в локальное хранилище записывается текущая дата в системе UNIX
27    cookieBtn.addEventListener('click', function(){
28        localStorage.setItem( 'cookieDate', Date.now() );
29        cookieNotification.classList.remove('show');
30    })
31}
32checkCookies();

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.