Get My Travel History

Step 1: Download TamperMonkey for chrome

Step 2: Install TravelHistory Script

Step 3: go to the script and add your details

let myDetails = {
firstName: “firstName”,
lastName: “lastName”,
birthDay: “01”,
birthMonth: “01”,
birthYear: “1986”,
passportNumber: “A2112212”,
passportCountry: “IND”
}

Step 4: sign up for emailjs free email service

after signup connect your gmail (u can use any service from the list, I used gmail) and get the below details and update the script

service_id: “gmail_service_id”,
template_id: “template_id”,
user_id: “emailjs api public key”,

Once you are Done with these 4 steps whenever you go to https://i94.cbp.dhs.gov/I94/#/history-search script kicks in and fills your details and emails you the travel history details.

Step 5: Download web scheduler and set up when you want the page to be open i.e. scheduler opens the https://i94.cbp.dhs.gov/I94/#/history-search and script send the email.

Leave the chrome browser open and script does the rest.

May your travel history be deleted soon 😉