PageSourceSearch

https://www.rusline.aero/assets/.include/validate-foot-form.js

js rusline.aero collected 2026-09-24 09:16:15 UTC 949 bytes, 27 lines download raw bytes

1function validateEmail(email) {
2    var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
3    return re.test(email);
4  }
5  
6  function clearImput() {
7    $(".footer__subscriptio-description").removeClass("new-footer__wrong");
8    // $("#footer-email").css({border: "#EEEEEE 1px solid"});
9    $("#footer-email").css({border: "transparent 1px solid"});
10  }
11
12  
13  $("#footer-email").on("click", clearImput);
14  $("#footer-validate").on("click",  function validate(e) {
15    e.preventDefault();
16    var $result = $("#result");
17    var email = $("#footer-email").val();
18    $result.text("");
19  
20    if (validateEmail(email)) {
21      $("#subscr-footer-formm").submit();
22    } else {
23      $(".footer__subscriptio-description").addClass("new-footer__wrong");
24      $("#footer-email").css({border: "red 1px solid"});
25    }
26    return false;
27  });

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.