PageSourceSearch

https://european-accreditation.org/wp-content/plugins/zilla-likes/scripts/zilla-likes.js?ver=7.1.2

js european-accreditation.org collected 2026-09-24 08:52:35 UTC 860 bytes, 38 lines download raw bytes

1jQuery(function($) {
2
3  $('.zilla-likes').on('click', function() {
4    var link = $(this);
5    if (link.hasClass('active')) return false;
6
7    var id = $(this).attr('id'),
8        postfix = link.find('.zilla-likes-postfix').text();
9
10    $.ajax({
11      type: 'POST',
12      url: zilla_likes.ajaxurl,
13      data: {
14        action: 'zilla-likes', 
15        likes_id: id, 
16        postfix: postfix, 
17      },
18      xhrFields: { 
19        withCredentials: true, 
20      },
21      success: function(data) {
22        link.html(data).addClass('active').attr('title','You already like this');
23      },
24    });
25
26    return false;
27  });
28
29  if ($('body.ajax-zilla-likes').length) {
30    $('.zilla-likes').each(function() {
31      var id = $(this).attr('id');
32      $(this).load(zilla_likes.ajaxurl, {
33        action: 'zilla-likes', 
34        post_id: id,
35      });
36    });
37  }
38});

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.