Skip to content

Instantly share code, notes, and snippets.

@jruz
Created November 28, 2021 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jruz/fad8413245c81671b6a06fbb834270c2 to your computer and use it in GitHub Desktop.
Save jruz/fad8413245c81671b6a06fbb834270c2 to your computer and use it in GitHub Desktop.
Messary watchlist
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