PageSourceSearch

https://cannabispol.com/assets/js/ajax-mail.js

js cannabispol.com collected 2026-10-08 19:03:02 UTC 535 bytes, 20 lines download raw bytes

1function success() {
2  // Success message show
3  const successMsg = document.querySelector(".email-success");
4  if (successMsg) {
5    successMsg.classList.add("show", "alert", "alert-success");
6    successMsg.innerText = "Message sent successfully!";
7  }
8
9  // Remove error message if visible
10  const errorMsg = document.querySelector(".email-error");
11  if (errorMsg) {
12    errorMsg.classList.remove("show");
13  }
14
15  // Clear the form fields
16  const form = document.getElementById("contact-form");
17  if (form) {
18    form.reset();
19  }
20}

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.