Created
November 28, 2021 23:49
-
-
Save jruz/fad8413245c81671b6a06fbb834270c2 to your computer and use it in GitHub Desktop.
Messary watchlist
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
function download() { | |
const getAssets = () => { | |
return Array | |
.from(document.querySelector(".infinite-window>div").childNodes) | |
.map(i => i.childNodes[1].childNodes[3].textContent) | |
.map(i => `BINANCE:${i}USDT`) | |
} | |
const content = getAssets().join("\n"); | |
const a = document.createElement("A"); | |
a.href = 'data:text/csv;charset=utf-8,' + encodeURI(content); | |
a.target = '_blank'; | |
a.download = '- BINANCE-SHIT.txt'; | |
a.click(); | |
} | |
download(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment