PageSourceSearch

https://www.printingforless.com/site/wp-content/plugins/smart-post…/js/pcp-likes-public.min.js?ver=4.0.6

js printingforless.com collected 2026-10-02 14:47:07 UTC 1,277 bytes, 1 lines download raw bytes

1!function(t){"use strict";t(document).on("click",".pcpl-wrapper .pcpl-button",function(){var e,a=t(this),s=a.attr("data-post-id"),n=a.attr("data-nonce"),p=a.attr("data-iscomment"),l=a.parents().hasClass("sp-smart-post-wrapper")?1:0,o=(e=t("1"===p?".pcpl-comment-button-"+s:".pcpl-button-"+s)).next("#pcpl-loader");if(l){var r=a.parents(".sp-smart-post-wrapper").find(".pcpl-button").eq(0);n=r.length>0?r.attr("data-nonce"):n}let i=a.attr("data-single");return""!==s&&t.ajax({type:"POST",url:simpleLikes.ajaxurl,data:{action:"process_pcp_like",post_id:s,nonce:n,is_comment:p,is_block:l},beforeSend:function(){o.html('&nbsp;<div class="loader">Loading...</div>')},error:function(t){console.log(t)},success:function(t){if(i){let s=t.count,n=s.match(/>(\d+)</),p=n?n[1]:"0",l=t.icon;a.find(".sp-smart-post-like-count-value").text(p),a.find(".sp-smart-post-like-count-icon")?.html(l),a.parents(".sp-smart-post-wrapper").find(".sp-smart-post-like-count-value").text(p),"unliked"===t.status?a.removeClass("liked"):(a.removeClass("liked"),a.addClass("liked"))}else{var r=t.icon,c=t.count;if(e.html(r+c),"unliked"===t.status){var d=simpleLikes.like;e.prop("title",d),e.removeClass("liked")}else{var u=simpleLikes.unlike;e.prop("title",u),e.addClass("liked")}o.empty()}}}),!1})}(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.