PageSourceSearch

https://www.sb.by/local/templates/media_en/components/db.by/news.detail/.default/script.js?1568635345732

js sb.by collected 2026-09-24 08:46:48 UTC 732 bytes, 16 lines download raw bytes

1function attachNews(article)
2{
3    $( article ).find('.tag-news').each(function(index, value) {
4        if (attachedNews[index] !== 'undefined')
5        {
6            var a = '<div class="card shadow-sm p-2"><img src="'+ attachedNews[index].PREVIEW_IMG.SRC +'" class="card-img-top border" alt="'+ attachedNews[index].NAME +'">';
7            a += '<div class="card-body position-relative"><div><span class="badge">Читайте также</span></div><a href="'+ attachedNews[index].DETAIL_PAGE_URL +'"><span class="card-title text-875">'+ attachedNews[index].NAME +'</span></a></div></div>';
8            $( this ).html(a);
9        }
10    });
11}
12$(function() {
13    $('article').ready(function() {
14        attachNews(this);
15    });
16});

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.