PageSourceSearch

https://cnai.it/wp-content/plugins/post-carousel-pro-v1.2.5/public/assets/js/sp-post-like.js?ver=1.2.5

js cnai.it collected 2026-10-03 20:50:06 UTC 1,302 bytes, 32 lines download raw bytes

1jQuery(document).ready(function() {
2    jQuery('body').on('click','.pcpro-post-like',function(event){
3        event.preventDefault();
4        heart = jQuery(this);
5        post_id = heart.data("post_id");
6        heart.html("<i class='fa fa-heart'></i><span class='sp-count-icon'><i class='fa fa-cog'></i></span>");
7        jQuery.ajax({
8            type: "post",
9            url: ajax_var.url,
10            data: "action=pcpro-post-like&nonce="+ajax_var.nonce+"&sp_post_like=&post_id="+post_id,
11            success: function(count){
12                if( count.indexOf( "already" ) !== -1 )
13                {
14                    var lecount = count.replace("already","");
15                    if (lecount === "0")
16                    {
17                        lecount = "0";
18                    }
19                    heart.prop('title', 'Love the Post');
20                    heart.removeClass("liked");
21                    heart.html("<i class='fa fa-heart-o'></i><span class='sp-count'>"+lecount);
22                }
23                else
24                {
25                    heart.prop('title', 'You Loved it');
26                    heart.addClass("liked");
27                    heart.html("<i class='fa fa-heart'></i><span class='sp-count'>"+count);
28                }
29            }
30        });
31    });
32});

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.