PageSourceSearch

https://zebra-tv.ru/bitrix/templates/zba/components/bitrix/news/main/script.js?15681087942288

js zebra-tv.ru collected 2026-10-02 03:16:36 UTC 2,288 bytes, 71 lines download raw bytes

1$(function(){
2	/*setTimeout(function(){
3		var h=$('.more-div').height()-72;
4		if($('.adv-news-bottom').length) h+=$('.adv-news-bottom').height()+40;
5		//$('#ajax_comments').css('top',-h);
6	},200);*/
7	//$('#ajax_comments span').load('/ajax/get-comments.php',{'mid':$('#ajax_comments').data('id')});
8	var noFancyLoader=false;
9	$('#ajax_comments').click(function(){
10		if(window['yaCounter19046857']) yaCounter19046857.reachGoal('comments_click');
11		var thisO=$(this);
12		if($('#div_comments form').length){
13			$.ajax({
14				url:thisO.data('script'),
15				data:{'mid':thisO.data('id'),'rmcom':'1','newd':1},
16				type:'post',
17				dataType:'html',
18				success:function(data){
19				}
20			});
21			$('#div_comments').html('');
22			//scrollToTop($('#div_comments').offset().top);
23			return false;
24		}
25		if(!noFancyLoader) showLoading();
26		$.ajax({
27			url:thisO.data('script'),
28			data:{'mid':thisO.data('id'),'ajax_comments':'y','newd':1},
29			type:'post',
30			dataType:'html',
31			success:function(data){
32				if(!noFancyLoader) hideLoading();
33				noFancyLoader=false;
34				//$('#ajax_comments').remove();
35				if(document.location.hash.substr(0,8)=='#comment'){
36					$('#div_comments').html(data);
37					$("body,html").animate({scrollTop:$('a[name="'+document.location.hash.substr(1)+'"]').offset().top-30},300);
38				}else{
39					$("body,html").animate({scrollTop:$('#div_comments').offset().top-30},200);
40					$('#div_comments').html(data);
41				}
42				//if(isTash) alert(data);
43			}
44		});
45		return false;
46	});
47	if(document.location.hash.substr(0,8)=='#comment'){
48		noFancyLoader=true;
49		if($('#div_comments .block-comments').length==0){
50			$(window).scrollTop($('#ajax_comments').offset().top);
51			$('#ajax_comments').trigger('click');
52		}
53	}
54	$('#filter-btn').click(function(){
55		var thisO=$(this);
56		var fb=$('.filter-div');
57		if(fb.hasClass('open')){
58			fb.removeClass('open').removeClass('sh');
59			fb.find('.filter-block').show().slideUp(300);
60			thisO.html(thisO.data('nopn'));
61		}else{
62			fb.addClass('open');
63			fb.find('.filter-block').slideDown(300);
64			thisO.html(thisO.data('opn'));
65		}
66		return false;
67	});
68	if(document.location.hash=='#filter'){
69		if(!$('.filter-div').hasClass('sh')) $('#filter-btn').trigger('click');
70	}
71});

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.