

- #SOUTHWEST AIRLINES BOARDING PASS NUMBERS SOFTWARE#
- #SOUTHWEST AIRLINES BOARDING PASS NUMBERS LICENSE#
innerHTML = "Time: (24-hour format hh:mm:ss)*" setAttribute ( 'maxlength', '10' ) ĭateInput. setAttribute ( 'type', 'text' ) ĭateInput. setAttribute ( 'class', 'input-text' ) ĭateInput. setAttribute ( 'id', 'date-input' ) ĭateInput. textContent = 'Set Check In Date and Time' setAttribute ( 'class', FORM_HEADING_CLASS ) * Edits the check in page Adds Date, time, and Auto Check In button Return day > 0 & day 23 || min 59 || sec 59 ) If ( hours maxDays * 1000 * 60 * 60 * 24 )Įrrors += "- Date/Time cannot be more than " + maxDays + " days in the future." + msRemaining Var timeRemain = globalSubmitDate - new Date ( ) Make sure everything is represented with 2 digits. * TODO: Some formatting is wrong eg ("1:0:12" means 1 hour and 12 seconds remain). getElementById ( SUBMIT_BUTTON_ID ) Īlert ( 'submitNow: An error has occurred: ' + e. * Submit the check in form on the Southwest Check In Online page. const CONF_TEXT_ID = "textBoardingPass" TODO: Use Southwest's server's time instead of the client's clock.Ĭonst CHECKIN_FORM_DIV_CLASS = "air-reservation-confirmation-number-search-form" Ĭonst CHECKIN_CONF_INPUT_ID = "confirmationNumber" Ĭonst CHECKIN_FIRSTNAME_INPUT_ID = "passengerFirstName" Ĭonst CHECKIN_LASTNAME_INPUT_ID = "passengerLastName" Ĭonst SUBMIT_BUTTON_ID = "form-mixin-submit-button" Ĭonst FORM_HEADING_CLASS = 'heading heading_medium retrieve-reservation-form-container-form-title' Ĭonst FORM_LABEL_CLASS = 'form-control-label' Ĭonst FORM_TEXT_CLASS = 'form-control-label-text' Ĭonst REQUIRED_CLASS = 'form-required-indicator' Ĭonst BUTTON_DIV_CLASS = 'form-container-search-block' Ĭonst BUTTON_CLASS = 'actionable actionable_button actionable_large-button actionable_no-outline actionable_primary button submit-button' Ĭonst REVIEW_SUBMIT_BUTTON_CLASS = "actionable actionable_button actionable_large-button actionable_no-outline actionable_primary button submit-button air-check-in-review-results-check-in-button" v1.9 Shivang Patel Added interval to continously click submit button after timer is done, in case time is not perfect

removed timeout setTime for displa圜ountdownWrapper and just called directly clear displa圜ountdown interval so does not cause error on other pages changed default auto set time to :05 seconds - :02 seems to early

v1.8 Shivang Patel Fixed autoPassengerPage function - now does not have check box and only checkin button Commenting out confirmation page for texting boarding pass as this doesnt appear to be fully working. Aggregating validation errors to avoid cases where you may have additional, unreported errors preventing submission. Using constants for page values (hopefully this makes it easier to udpdate later when the pages change). Submits sucessfully if last phone number character is manually typed, but fails validation if it's only filled by the script. Have not determined what event listeners need to be triggered in the phone number form field. v1.6.1 JR Hehnly the script to a state where check-in works, but no auto-text boarding pass yet. v1.5.1 Trevor McClellan (/trevormcclellan)ĩ/2017 v1.6 JR Hehnly changes to handle new Southwest confirmation lookup page Moved script to GitHub since UserScripts appears deadġ0/2014 v1.4 JR Hehnly phone number entry to auto-text boarding pass docs to mobile device Updated to use new Southwest Check In page, added validation
#SOUTHWEST AIRLINES BOARDING PASS NUMBERS LICENSE#
You should have received a copy of the GNU General Public License GNU General Public License for more details. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program is distributed in the hope that it will be useful,īut WITHOUT ANY WARRANTY without even the implied warranty of
#SOUTHWEST AIRLINES BOARDING PASS NUMBERS SOFTWARE#
The Free Software Foundation, either version 3 of the License, or It under the terms of the GNU General Public License as published by * This program is free software: you can redistribute it and/or modify Automatically check in to Southwest Airline flights at the appropriate time. JR Hehnly ( Trevor McClellan (/trevormcclellan)
