woodybury / southwest

hacky script to be the first to check in and get those good seats :)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

southwest checkin

browser console script to be the first to check in & get those good seats :)

Creates a timer to automatically check in to Southwest Airline flights

        __|__
\________(_)________/
      O  ' '  O  
      
//enter flight time here Example: "7:30:00 PM"
var flightTime = "7:30:00 PM";

//get the checkin button
var checkIn = document.getElementById("form-mixin--submit-button");
//get ms for checkin time
var today = new Date();
var flightDate = (today.getMonth()+1) +'/'+ today.getDate() +'/'+ today.getFullYear();
var flightTimeMil = new Date( flightDate + ' ' + flightTime ).getTime();
//get current ms and find difference for timer
timeMil = new Date().getTime();
countDownMil = flightTimeMil - timeMil;
//set timer and click button function
function checkedIn () {
	checkIn.click();
	console.log ('Checked in first!');
};
setTimeout(checkedIn, countDownMil);

open url, enter flight info, and paste js in browser console.

About

hacky script to be the first to check in and get those good seats :)

License:MIT License


Languages

Language:JavaScript 100.0%