PageSourceSearch

https://www.universalmusica.com/wp-content/themes/universalmusica_…/multipage/assets/js/load-more.js?ver=1.0.1

js universalmusica.com collected 2026-10-02 07:16:18 UTC 1,238 bytes, 41 lines download raw bytes

1(function ($) {
2    "use strict";
3
4    $(document).ready(function ()
5    {
6        if ($('.-paginated').length) {
7            let initialNumber = $('.-paginated').attr('data-load-more-initial')
8            let perPageNumber = $('.-paginated').attr('data-load-more-per-page')
9
10            const totalNumber = $('.-paginated .c-paginated-item').length;
11
12            if (initialNumber) {
13                $('.-paginated .c-paginated-item:not(:lt(' + initialNumber + '))').hide()
14                $('.-paginated').addClass('-loaded')
15            }
16
17            $('.more-link a').click(function (e) {
18                e.preventDefault()
19
20                let countShown = 0
21
22                $('.-paginated .c-paginated-item').each(function () {
23                    if (!$(this).is(':visible')) {
24                        $(this).slideDown()
25                        countShown++
26                    }
27
28                    if (countShown >= perPageNumber) {
29                        return false
30                    }
31                })
32
33                if ($('.-paginated .c-paginated-item').not(':visible').length === 0) {
34                    $(this).hide()
35                }
36
37                return false
38            })
39        }
40    })
41})(jQuery)

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.