This does. Just run this when you’ve selected the filter criteria you want, then paste this in developer tool. It'll transform the transaction button with "Download CSV".
A date range and you want those transactions as CSV, with transaction number and only amounts, no formatting: so you can use your spreadsheet to manage that data.
Furthermore, RBC’s OMNI Team; What would be even cooler is if when we filter the transactions with criterias. When we click to view an item, like a Cheque image, when we click "Back" on the browser, we don’t lose the search we had. Like it currently does. That would be easily possible if the URL kept the filter criterias. This changes browser history, and allows to use the Back button *for free*. But the FrontEnd code doesn’t do that. And that Gist’s content isn't covering this problem — But I might tackle that one too some day.
- https://gist.github.com/renoirb/f865666be869f836ec567f22b3719827
- https://twitter.com/renoirb/status/1583848533828202500?s=20&t=alsfgIvR3lR3zNt3u0ikvA
Thanks for the starting point @renoirb! I ran into the same issues that @ghost did, and I noticed a couple of issues with the script. Likely RBC changed the DOM structure slightly.
transactionListTable.querySelectorAll('tbody tr')
was including the header row, which is what was causing the issue. I've updated the selector to ignore the header row.%{ISO8601 date}-${parameterized page title}.csv
row-1-2025-06-30
. I've updated the JS to properly extract the date for both formats.I also asked Gemini to convert it to a bookmarklet to balance usability with the desire to be able to audit random Javascript you find on the internet executing in your banking website... 😅