PageSourceSearch

https://viikingifestival.ee/wp-content/plugins/ninja-forms-stripe/assets/js/nfpluginsettings.js?ver=3.2.2

js viikingifestival.ee collected 2026-10-03 18:42:40 UTC 1,392 bytes, 51 lines download raw bytes

1jQuery(function ($) {
2  /* 
3    localized variables passed through params object:
4      stripe_nfpluginsettings.clearLogRestUrl
5      stripe_nfpluginsettings.clearLogButtonId  
6      stripe_nfpluginsettings.downloadLogRestUrl
7      stripe_nfpluginsettings.downloadLogButtonId
8      stripe_nfpluginsettings._wpnonce
9    
10    */
11
12  $("#" + stripe_nfpluginsettings.clearLogButtonId).on("click", () => {
13    $.post(
14      stripe_nfpluginsettings.clearLogRestUrl,
15      {
16        _wpnonce: stripe_nfpluginsettings._wpnonce,
17      },
18      function (json) {
19        console.log(json);
20      }
21    );
22  });
23
24  $("#" + stripe_nfpluginsettings.downloadLogButtonId).on("click", () => {
25    $.post(
26      stripe_nfpluginsettings.downloadLogRestUrl,
27      {
28        _wpnonce: stripe_nfpluginsettings._wpnonce,
29      },
30      function (json) {
31        let download = json.data;
32
33        var blob = new Blob([download], { type: "json" });
34
35        var a = document.createElement("a");
36        a.download = "nf-stripe-debug-log.json";
37        a.href = URL.createObjectURL(blob);
38        a.dataset.downloadurl = ["json", a.download, a.href].join(":");
39        a.style.display = "none";
40        document.body.appendChild(a);
41        a.click();
42        document.body.removeChild(a);
43        setTimeout(function () {
44          URL.revokeObjectURL(a.href);
45        }, 15000);
46      }
47    );
48  });
49
50  return;
51});

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.