PageSourceSearch

https://ksquaretimeline.com/wp-content/themes/ksqaure/js/load-more.js

js ksquaretimeline.com collected 2026-10-02 01:34:15 UTC 1,439 bytes, 35 lines download raw bytes

1jQuery(function($) {
2    let currentPage = 1;
3    const postsPerPage = 10;
4
5    $('#load-more').on('click', function(e) {
6        e.preventDefault();
7        currentPage++;
8        $.ajax({
9            url: my_ajax_object.ajax_url, // coming from wp_localize_script
10            type: "POST",
11            data: {
12                action: "load_more_nfo",
13                page: currentPage,
14                posts_per_page: postsPerPage
15            },
16            beforeSend: function() {
17                $('#load-more').text('Loading...');
18            },
19            success: function(response) {
20                if(response.html) {
21                    $('#nfo-container').append(response.html);
22                    if (!response.has_more) {
23                        $('#load-more').remove();
24                        $('.company-success-btn').append('<div class="col-lg-12" id="no-more" style="text-align: center;"><h6>You reached end of page !</h6><p>No more data load.</p></div>');
25                    } else {
26                        $('#load-more').text('Load More');
27                    }
28                } else {
29                    $('#load-more').remove();
30                    $('.company-success-btn').append('<div class="col-lg-12" id="no-more" style="text-align: center;"><h6>You reached end of page !</h6><p>No more data load.</p></div>');
31                }
32            }
33        });
34    });
35});

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.