PageSourceSearch

https://followthecamino.com/wp-content/themes/Impreza/js/newsletterform.js

js followthecamino.com collected 2026-10-02 05:22:06 UTC 1,379 bytes, 37 lines download raw bytes

1
2function runOnFormSubmit_sf3z396633ff3d9e49b89236cfa760f8e3e139f9d1cbe9bbe0a387c6ba536d511eaf(th){
3/*Before submit, if you want to trigger your event, "include your code here"*/
4};
5
6document.addEventListener('DOMContentLoaded', function() {
7    var lf = localStorage.getItem("ftc_form_saver");
8    if(lf != null){
9        lf = JSON.parse(atob(lf));
10
11        let firstname = document.querySelector('#customForm input[name="FIRSTNAME"]');
12        let lastname = document.querySelector('#customForm input[name="LASTNAME"]');
13        let email = document.querySelector('#customForm input[name="CONTACT_EMAIL"]');
14        let country = document.querySelector('#customForm [name="CONTACT_CF8"]');
15
16        if(firstname && lf["SingleLine1"]){
17            firstname.value = lf["SingleLine1"];
18        }
19        if(lastname && lf["SingleLine"]){
20            lastname.value = lf["SingleLine"];
21        }
22        if(email && lf["Email"]){
23            email.value = lf["Email"];
24        }
25        if(country) {
26            let countryOption = country.querySelector(`option[value="`+lf["Dropdown1"]+`"]`);
27            if(countryOption){
28                country.value = lf["Dropdown1"];
29            }
30        }
31
32        let title = document.querySelector('.your-name-from-lf');
33        if(title && lf["SingleLine1"]){
34            title.innerHTML += ", "+lf["SingleLine1"];
35        }
36    }
37});

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.