Created
September 7, 2018 21:33
-
-
Save aciccarello/e18b0734cee4f20bfe533cb811c3f0c7 to your computer and use it in GitHub Desktop.
Mint Bookmarklet to load transactions in month
This file contains hidden or 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: | |
(function() { | |
var month = prompt('Month'); | |
var year = new Date().getFullYear(); | |
var yearInput = prompt(`Year (default ${year})`); | |
year = yearInput ? '20' + yearInput : (new Date().getFullYear()); | |
var lastDayOfMonth = new Date(Number(year), Number(month), 0).getDate(); | |
window.location.href = `https://mint.intuit.com/transaction.event?startDate=${month}/01/${year}&endDate=${month}/${lastDayOfMonth}/${year}&exclHidden=T`; | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment