PageSourceSearch

https://www.nsktv.ru/local/components/olmi/rubric.news/templates/.default/script.js?1513573743998

js nsktv.ru collected 2026-10-01 10:43:38 UTC 998 bytes, 60 lines download raw bytes

1$(document).ready(function() {
2	
3	$('#main-rubric-block-list ul').each(function(index, item) {
4		
5		$(item).find('li.fx').removeClass('show');
6		var cnt = $(item).find('li.item').length;
7		
8		var max_item_row = 4;
9		
10		if (window.innerWidth <= 1152)
11		{
12			max_item_row = 3;
13		}
14		
15		var c = cnt % max_item_row;
16		if (c > 0)
17		{
18			
19			$(item).find('li.fx').each(function(index1, item1) {
20				c++;
21				$(item1).addClass('show');
22				if (c == max_item_row) return false;
23			});
24			
25		}
26		
27	});
28
29});
30
31$(window).resize(function() {
32	
33	
34	$('#main-rubric-block-list ul').each(function(index, item) {
35		
36		$(item).find('li.fx').removeClass('show');
37		var cnt = $(item).find('li.item').length;
38		
39		var max_item_row = 4;
40		
41		if (window.innerWidth <= 1152)
42		{
43			max_item_row = 3;
44		}
45		
46		var c = cnt % max_item_row;
47		if (c > 0)
48		{
49			
50			$(item).find('li.fx').each(function(index1, item1) {
51				c++;
52				$(item1).addClass('show');
53				if (c == max_item_row) return false;
54			});
55			
56		}
57		
58	});
59	
60});

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.