Skip to content

Instantly share code, notes, and snippets.

@magnum
Last active August 22, 2024 10:29
Show Gist options
  • Select an option

  • Save magnum/0bdec1d5e0f23ebc61dd329e37a3e4d8 to your computer and use it in GitHub Desktop.

Select an option

Save magnum/0bdec1d5e0f23ebc61dd329e37a3e4d8 to your computer and use it in GitHub Desktop.
// 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