PageSourceSearch

https://helloparks.com/wp-content/plugins/done-gdpr-policy/assets/js/custom-gdpr-mods.js?ver=0.0.0.0

js helloparks.com collected 2026-10-08 07:20:58 UTC 2,352 bytes, 63 lines download raw bytes

1function setCookie(name, value, expiryDays, domain, path) {
2  var exdate = new Date();
3  exdate.setDate(exdate.getDate() + (expiryDays || 365));
4
5  var cookie = [
6    name + "=" + value,
7    "expires=" + exdate.toUTCString(),
8    "path=" + (path || "/")
9  ];
10
11  document.cookie = cookie.join(";");
12}
13
14(function ($) {
15  "use strict";
16  $(function () {
17    $.cookieSettings = Cookies.get("DONEGDPRConsent");
18
19    if(done_gdpr_localize.done_gdpr_rogton_merjen!=null && done_gdpr_localize.done_gdpr_rogton_merjen==true){
20      if ($.cookieSettings != undefined) {
21        $.cookieSettings = JSON.parse($.cookieSettings);
22      } else {
23        setCookie("DONEGDPRConsent", JSON.stringify({ functional: true, performance: true, targeting: true }), 365);
24        $(".done-gdpr-alert-box-wrapper").addClass("active");
25        $.cookieSettings = Cookies.get("DONEGDPRConsent");
26        $.cookieSettings = JSON.parse($.cookieSettings);
27      }
28    }
29
30    if(done_gdpr_localize.done_gdpr_lebego_cookie_beallitasok_gomb==true && Cookies.get("DONEGDPRAlertBoxClosed") != undefined){
31      $('body').append('<div class="done-gdpr-floating-box js-open-cookie"><span class="done-gear"></span><a href="#">'+done_gdpr_localize.done_gdpr_lebego_cookie_beallitasok_gomb_felirat+'</a></div>');
32    }
33 
34    $(document).on("click", ".js-open-cookie a,#done-gdpr-toggle-display", function (e) {
35      e.preventDefault();
36      cookiedone.showCookieSettings();
37
38      if ($.cookieSettings != undefined && $.cookieSettings.performance == true) {
39        $(".done-gdpr-status-checkbox.performance").attr("checked", true);
40      }
41      if ($.cookieSettings != undefined && $.cookieSettings.functional == true) {
42        $(".done-gdpr-status-checkbox.functional").attr("checked", true);
43      }
44      if ($.cookieSettings != undefined && $.cookieSettings.targeting == true) {
45        $(".done-gdpr-status-checkbox.targeting").attr("checked", true);
46      }
47    }
48    );
49
50    if(done_gdpr_localize.done_gdpr_oldal_ujra_toltese_modositaskor==true){
51      $(document).on("click", "#done-gdpr-save-button", function (e) {
52        location.reload();
53      });
54  
55      $(document).on("click", ".done-gdpr-button-allow", function (e) {
56        e.preventDefault();
57        e.stopPropagation();
58        cookiedone.allowAll();
59        location.reload();
60      });
61    }
62  });
63})(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.