Last active
March 21, 2017 00:02
-
-
Save rayansostenes/6bf270d1e91de8ae87343d6eeaa8459a to your computer and use it in GitHub Desktop.
Bookmarlet Nubank to CSV
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:window.open('data:text/plain;base64,'+btoa(angular.element(document.querySelector('.md-tab-content:not(.ng-hide) .charge')).scope().$parent.$parent.charges.map(c => `${c.post_date.split('-').reverse().join('/')};${c.title};${c.category};${(c.amount/100).toFixed(2).replace('.', ',')}`).join('\n'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment