PageSourceSearch

https://olimpiada.ru/js/news.js?v=1.4

js olimpiada.ru collected 2026-09-24 08:57:20 UTC 656 bytes, 33 lines download raw bytes

1var loading=false
2
3$(document).ready(function(){
4	$(window).scroll(function(){
5		if($(window).width()/$(window).height()>1)
6		{
7			if($('html').height()-$(window).scrollTop()<1000)
8			{
9				if(!loading)
10					loadNews();
11			}
12		}
13		else
14		{
15			if($('html').height()-$(window).scrollTop()<2000)
16			{
17				if(!loading)
18					loadNews();
19			}
20		}
21	});
22});
23
24function loadNews()
25{
26	loading=true;
27	console.log('loading');
28	var href=$('.news_item_in_full_list:last-child a').attr('href').split('/');
29	$.post('/include/news/list.php',{last_id:href[2],cnt_now:$('.news_item_in_full_list').length},function(data){
30		$('.news_left').append(data);
31		loading=false;
32	});
33}

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.