PageSourceSearch

https://www.mekgroup.eu/wp-content/plugins/ct-ultimate-gdpr/assets/js/cookie-list.js?ver=5.3.9

js mekgroup.eu collected 2026-10-07 05:49:27 UTC 1,452 bytes, 46 lines download raw bytes

1/** @var ct_ultimate_gdpr_cookie_list object - localized */
2
3jQuery(function () {
4
5    function render_list(party_filter) {
6
7        if((typeof(ct_ultimate_gdpr_cookie_list) == 'undefined')) return false;
8        
9        var cookies = ct_ultimate_gdpr_cookie_list.list;
10        jQuery("#ct-ultimate-gdpr-cookies-table tbody").empty();
11
12        if (party_filter) {
13            cookies = cookies.filter(function (party) {
14                return party.first_or_third_party === party_filter;
15            });
16        }
17
18        cookies.forEach(cookie => {
19            jQuery("#ct-ultimate-gdpr-cookies-table tbody").append(render_row(cookie));
20        });
21    }
22
23    function render_row(cookie) {
24        var row = jQuery("<tr></tr>");
25
26        for (const key in cookie) {
27            if (key === 'can_be_blocked') {
28                // check cookie block if true or false
29                if (cookie[key] == 1)
30                    row.append('<td><i class="fa fa-check" aria-hidden="true" style="color: green"></i></td>');
31                else
32                    row.append('<td><i class="fa fa-times" aria-hidden="true" style="color: red"></i></td>');
33            } else
34                row.append("<td>" + cookie[key] + "</td>");
35        }
36
37        return row;
38    }
39
40    render_list(jQuery('#ct-ultimate-gdpr-party-filter').val());
41
42    jQuery('#ct-ultimate-gdpr-party-filter').change(function () {
43        render_list(jQuery(this).val());
44    });
45
46});

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.