PageSourceSearch

https://www.beechnut.com/wp-content/plugins/ninja-forms-salesforce-crm/assets/js/nfpluginsettings.js

js beechnut.com collected 2026-09-25 18:52:53 UTC 1,234 bytes, 49 lines download raw bytes

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

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.