Javascript to scrape hsbc online bank statements
-
Create a bookmark in your browser with the following code as the url:
javascript:function loadScript(scriptURL) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('language', 'JavaScript'); scriptElem.setAttribute('src', scriptURL); document.body.appendChild(scriptElem);} loadScript('https://raw.github.com/evandavey/hsbc-statement-scraper/master/savestatement.js');)
- Ensure pop-up windows are enabled in your browser
- Log in to HSBC internet banking and navigate to a previous statement view
- Click the bookmarklet twice
- Wait for the script to complete then click the clipboard icon that has appeared
- Copy data into a spreadsheet or other application
- Original version here