PageSourceSearch

https://www.koripallo.com/app/themes/koripallocom/assets/scripts/frontpage.js?ver=1.0

js koripallo.com collected 2026-10-03 00:32:32 UTC 1,107 bytes, 53 lines download raw bytes

1jQuery(document).ready(function($) {
2	var offset = 10;
3	var page   = 2;
4
5	$('div.load-more-news span').click(function() {
6		var self = $(this);
7
8		dp( 'PageNewFrontpage/Feeds', {
9			partial: 'news-items-ajax',
10			args: {
11				offset: offset
12			}
13		}).then( function( data ) {
14			offset += 10;
15
16			var blockBody = self.closest('.block-body');
17
18			blockBody.find('.front-element-subcontainer').last().append(data.success);
19
20			if ( offset >= data.data.PageNewFrontpage.Amount ) {
21				self.remove();
22			}
23		});
24	});
25
26	$('div.load-more-posts span').click(function() {
27		var self = $(this);
28
29		dp( 'PageNewFrontpage/Posts', {
30			partial: 'posts-items-ajax',
31			args: {
32				page: page
33			}
34		}).then( function( data ) {
35			page += 1;
36
37			var loadMore = self.closest('.load-more-posts');
38
39			loadMore.before(data.success);
40		});
41	});
42
43	$('div.load-more.load-more-videos').click(function() {
44		$('.front-video').addClass('expanded');
45		$(this).hide();
46	})
47
48	$('.front-video iframe[src*="youtube"]').each( function() {
49		$(this).wrap('<div class="video-wrap"></div>');
50	});
51
52	$('.ctf-more').addClass('load-more');
53});

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.