Last active
November 21, 2017 20:23
-
-
Save t5r7/27da6ad076d0a6dffade5fda70b25361 to your computer and use it in GitHub Desktop.
Get the amount of items in your Amazon wishlist (Amazon removed the counter for some reason)
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
if (location.hostname.includes('amazon.') && location.pathname.includes('wishlist')) { | |
document.getElementById('profile-list-name').innerHTML += ' (' + document.getElementsByClassName('g-item-sortable').length + ' items)'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment