This script calculates your spent on amazon. Follow the instructions and run on the console of your browser's inspector tools. Currently supports € and £, calculates in POUNDS. Make sure to update the exchange rate.
- Navigate to https://www.amazon.co.uk/cpe/yourpayments/transactions
- Open developer tools, go to console and run:
function sumCurrentPage() {
const table = $('.a-box-inner.a-padding-none');
return Array
.from(table.querySelectorAll('.a-column:nth-of-type(2) > span'))