FlyerTalk Forums - View Single Post - AwardWallet
Thread: AwardWallet
View Single Post
Old Apr 14, 2011 | 12:30 pm
  #257  
veresch
Company Representative - AwardWallet
 
Join Date: Oct 2007
Posts: 56
Originally Posted by unavaca
So I save my awardwallet.com passwords locally, but I rue the day I have to re-enter all of those passwords.

You can backup your locally-saved passwords by going to your account listing page on AwardWallet.com and pasting this URL into the address bar:
Code:
javascript:var a = document.cookie.split(';'); for(var i in a) { var b = a[i].split('='); if(b[0].replace(/^\s+|\s+$/g, '') == "AP") document.writeln(escape(a[i].substr(4))); }
You should get back a single line of text that begins with the letter "a". This is a list of your accounts with their encoded passwords. Save this line.

If you ever want to restore your passwords to AwardWallet, login to get to your list of accounts and paste the following line into your address bar. Replace the red passwordLine with the blob of text you saved above.

Code:
javascript:document.cookie="AP=passwordLine; path=/account/; expires=Sun, 23-Aug-2037 4:42:42 GMT; secure"
You should now be able to update your accounts using your locally-saved passwords.
This is pretty cool. I tired it and it worked just fine to transfer my local passwords from Chrome to Firefox. We should add similar functionality on AwardWallet directly on the account list page, but given our current backlog it may not happen for a while. In the meantime this solution should work just fine. Thanks a lot for sharing!
veresch is offline