Skip to content

Instantly share code, notes, and snippets.


Lisi Linhart lisilinhart

View GitHub Profile
tomhodgins / cibc2csv.js
Last active December 4, 2021 21:24
Paste this function into your JS console on CIBC's online banking website to scrape your account ledger into a CSV formatted file the browser can save that can be imported into Excel
View cibc2csv.js
function cibc2csv() {
var table = document.querySelector('')
var csv = ''
var head = []
var row = []
// read header cells
table.querySelectorAll('thead th').forEach(th => {