FlyerTalk Forums - View Single Post - Encounters with the post-transition web site: Tips to boost survival odds
Old Jun 14, 2011 | 9:01 am
  #10  
ftnoob
Moderator, Southwest Airlines and Choice Privileges
All eyes on you!
15 Years on Site
 
Join Date: Mar 2008
Location: Central Texas
Posts: 3,112
Here is a bookmarklet that finds the confirmation number within the HTML of the page shown at the Confirmed step of the booking process, and opens a window/tab for your companion booking:
Code:
javascript: void(window.open('http://www.southwest.com/account/rapidrewards/bookCompanion.html?recordLocator='+$('span.confirmation_number').html()))
If you prefer to just insert a link you can click, use this version:

Code:
javascript: void($('#changeReservationLink').parent().html('<a id="changeReservationLink" title="Add Companion" href="/account/rapidrewards/bookCompanion.html?recordLocator=[PNR]"> Book Companion |</a>'.replace('[PNR]', $('span.confirmation_number').html())+$('#changeReservationLink').parent().html()))
Your purchase page will be modified as follows (image edited to shrink width for FT display purposes):
The insert link bookmarklet will eventually become the basis for a GreaseMonkey automatic modification script, but unfortunately I'm not available to create that at this time.

I don't have a CP so I can only confirm it serves to generate a Please check your Companion Pass Status (SW900001) but it should work (which means nothing in the programming world!). Someone with a CP will have to test and confirm.

Note that this was only tested on a single-pax award booking; it may very well fail on a reservation that results in multiple PNRs.

Last edited by ftnoob; May 15, 2012 at 6:07 pm Reason: Fix hover text on Add Companion link
ftnoob is offline