Created
September 20, 2020 09:51
-
-
Save michaelvickersuk/41ccdbedba7d32de592aeb9bb8b02af8 to your computer and use it in GitHub Desktop.
Expand all items shown in the earnings table in your TopCashback account
This file contains 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
/* | |
1. Log into your TopCashback account | |
2. Go to www.topcashback.co.uk/account/earnings | |
3. Open the console (F12) | |
4. Copy the below and paste into the console | |
5. Press enter and the earnings will be shown expanded (does take a while if there's a lot of items!) | |
*/ | |
document.querySelector('#datatable-show-all').click(); | |
document.querySelectorAll('#datatable-earnings-table tbody td').forEach( | |
function(currentValue, currentIndex) { | |
currentValue.click(); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment