PageSourceSearch

https://groundcontrolmag.com/wp-content/themes/beaton/js/post-like.js?ver=1.0

js groundcontrolmag.com collected 2026-10-02 09:59:32 UTC 850 bytes, 33 lines download raw bytes

1jQuery(document).ready(function() {
2	jQuery('body').on('click','#getlike',function(event){
3		event.preventDefault();
4		heart = jQuery(this);
5		post_id = heart.data("post_id");
6		jQuery.ajax({
7			type: "post",
8			url: ajax_var.url,
9			data: "action=jm-post-like&nonce="+ajax_var.nonce+"&wize_post_like=&post_id="+post_id,
10			success: function(count){
11				if( count.indexOf( "already" ) !== -1 )
12				{
13					var lecount = count.replace("already","");
14					if (lecount === "0")
15					{
16						lecount = "Like";
17					}
18					heart.prop('title', 'Like');
19					heart.removeClass("like");
20					heart.addClass("unlike");
21					heart.html(""+lecount+"");
22				}
23				else
24				{
25					heart.prop('title', 'Unlike');
26					heart.addClass("like");
27					heart.removeClass("unlike");
28					heart.html(""+count+"");
29				}
30			}
31		});
32	});
33});

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.