Created
May 18, 2021 14:04
-
-
Save AldoMX/7e9f614976e7b9687246ceef1a3abd74 to your computer and use it in GitHub Desktop.
Copia MSI de los Smart Statement de Banamex.
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
setTimeout( | |
() => | |
navigator.clipboard.writeText( | |
[...document.getElementById("tablaMovimientos").rows] | |
.filter(({ id, children: [, { innerText: description }] }) => id.startsWith("idexpand") && /\d{3}\s\d{3}\s*$/.test(description)) | |
.map(({ children: [, { innerText: description }, { innerText: amount }] }) => [description, amount].join("\t")) | |
.join("\n") | |
), | |
1000 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment