PageSourceSearch

https://igniteamerica.com/wp-content/themes/igniteamerica/js/shocking-stats.js?ver=1.6.1

js igniteamerica.com collected 2026-10-02 14:59:41 UTC 1,427 bytes, 46 lines download raw bytes

1(function($){
2    $(document).ready(function(){
3
4    $(document).on( 'click', '.shocking-stats-paginator a', function( event ) {
5        let newId     = $('.hero-article').data('id');
6        event.preventDefault();
7        var $a = $( this ), numberID;
8        var url = $a.attr( "href" ),
9        number_pag = url.match( /\d+/ );
10
11        if (number_pag == 0 || number_pag == null || number_pag == undefined) {
12            numberID = 1;
13            // console.log('Value undefined');
14        }else{
15            numberID = number_pag[0];
16        }
17        ajaxShocking( numberID, newId);
18    });
19
20    function ajaxShocking( pag_page_num, current_id) {
21        var data = {
22            action: 'get_shocking_stats',
23            paged: pag_page_num,
24            currentID: current_id,
25        };
26
27        $.ajax({
28            type: 'post',
29            url : ajax_get_shocking_stats.ajaxurl,
30            data: data,
31            success: function(response){
32              $(".shocking-stats-feed").html(response);
33            }
34        });
35    }
36
37    if ($('body').hasClass('page-template-template-ignite-shocking-stats')) {
38        $(document).on('click', '.page-numbers', function(){
39            const topscroll = ($(document).width() < 600) ? 150 : 250;
40            $('html, body').animate({
41                scrollTop: $('.shocking-stats-feed').offset().top - topscroll
42            }, 600);
43        });
44    }
45  });
46})(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.