PageSourceSearch

https://awarenesscompany.co.za/assets/js/contact.js

js awarenesscompany.co.za collected 2026-10-08 13:35:55 UTC 1,483 bytes, 53 lines download raw bytes

1function createContactTask(name, email, phone, company, message) {
2
3    //build the html description
4    var htmlnotes = "<body><ol><li><strong>Full Name:</strong> " + name + "</li>";
5    htmlnotes += "<li><strong>Email:</strong> " + email + "</li>";
6    htmlnotes += "<li><strong>Phone:</strong> " + phone + "</li>";
7    htmlnotes += "<li><strong>Company:</strong> " + company + "</li>";
8    htmlnotes += "<li><strong>Message:</strong> " + message + "</li></ol></body>";
9
10    let path = "https://awarenesscompany.co.za/proxy.php?request=" + "tasks";
11    let body = {
12        data: {
13            "name": name,
14            "projects": ["1203088588216298"],
15            "memberships": [
16                {
17                    "project": "1203088588216298"
18                }
19            ],
20            "followers":["632021771211994", "1200900978952488", "632023896667896"],
21            "html_notes": htmlnotes,
22        }
23    };
24
25    let options = {
26        method: 'POST',
27        headers: {
28            "content-type": "application/json"
29        },
30        mode: "cors",
31        body: JSON.stringify(body),
32    };
33
34    fetch(
35        path,
36        options
37    )
38        .then((result) => result.json())
39        .then((result) => {
40
41            if(result.status && result.status === "error") {
42                //error
43                
44            }
45            else {
46                //success
47            }
48               
49        })
50        .catch((err) => {
51            
52        });
53}

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.