Skip to content

Instantly share code, notes, and snippets.

@tebriel
Created August 11, 2014 16:20
Show Gist options
  • Select an option

  • Save tebriel/ad8435a6fff17093eeaa to your computer and use it in GitHub Desktop.

Select an option

Save tebriel/ad8435a6fff17093eeaa to your computer and use it in GitHub Desktop.
Bookmarklet to download the last week's transactions on capital one's crappy, crappy site. Add this as a bookmark, then go to the transactions download page, click the bookmark, wait for the .qfx to get generated.
javascript:(function(){setDate = function(id, date) {$(id).val([date.getMonth()+1, date.getDate(), date.getFullYear()].join('/'))}; setDate('#txtFromDate_TextBox', new Date((new Date()).setDate((new Date()).getDate()-7))); setDate('#txtToDate_TextBox', new Date());$('#ctlStatementFilter_1').prop('checked', true);$('#btnDownload').click();})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment