Last active
August 22, 2024 10:29
-
-
Save magnum/0bdec1d5e0f23ebc61dd329e37a3e4d8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // bulk ignore riconcile, use this in console | |
| // https://secure.fattureincloud.it/importer/bankstatements | |
| const action = () => { | |
| const link1 = document.querySelectorAll("a[href='/importer/bankstatements']")[1]; | |
| link1.style.color = "blue"; | |
| link1.click(); | |
| setTimeout(() => { | |
| const link2 = document.querySelector("[id$='listItem']:last-child"); | |
| link2.style.color = "blue"; | |
| link2.click(); | |
| }, 1000); | |
| } | |
| action(); | |
| setInterval(() => action(), 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment