PageSourceSearch

https://abilityclinic.ca/wp-content/plugins/skimet/assets/base/skimetbase.js?ver=50

js abilityclinic.ca collected 2026-10-04 08:28:48 UTC 1,749 bytes, 125 lines download raw bytes

1if (!$) {
2
3  $ = jQuery;
4
5}
6
7$(function () {
8
9  $("#unsubscribe-btn").on("click", function (event) {
10
11    event.preventDefault();
12
13    let user_id = $("#us_id").val();
14
15
16
17    $.ajax({
18
19      method: "POST",
20
21      url: wpajaxUrl.ajaxurl,
22
23      data: {
24
25        action: "set_status",
26
27        user_id: user_id,
28
29      },
30
31      success: function (response) {
32
33        let domain = window.location.origin;
34
35        window.location.replace(domain);
36
37      },
38
39      error: function (xhr, status, error) {
40
41        console.error("Error processing file:", xhr, status, error);
42
43        let domain = new URL(window.location.href).hostname;
44
45        window.location.href = domain;
46
47      },
48
49    });
50
51  });
52
53});
54
55
56
57$(function () {
58
59  $(".mchimp-errmessage").hide();
60  $("#mail-letter-subscribe-now").on("click", function (event) {
61
62    event.preventDefault();
63
64    let form = $(this).closest("form");
65
66    let email = form.find("#email-address").val();
67
68    if (email == "") {
69
70      alert("Please Enter Your Email Address");
71
72      return;
73
74    }
75
76    $.ajax({
77
78      method: "POST",
79
80      url: wpajaxUrl.ajaxurl,
81
82      data: {
83
84        action: "mail_letter_subscribe",
85
86        email: email,
87
88      },
89
90      success: function (response) {
91        $(".mchimp-errmessage").text(response.message)
92        $(".mchimp-errmessage").show();
93        form.reset();
94
95      },
96
97      error: function (response) {
98        $(".mchimp-errmessage").text(response.message)
99        $(".mchimp-errmessage").show();
100        form.reset();
101      },
102      
103
104    });
105
106  });
107
108});
109
110
111
112$(function () {
113
114  $("#cancel-unsub").on("click", function (event) {
115
116    event.preventDefault();
117
118    let domain = window.location.origin;
119
120    window.location.replace(domain);
121
122  });
123
124});
125

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.