Skip to content

Instantly share code, notes, and snippets.

@peterhartree
Created July 25, 2023 22:37
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 peterhartree/72e1ba1a0890f387873c7132f599b074 to your computer and use it in GitHub Desktop.
Save peterhartree/72e1ba1a0890f387873c7132f599b074 to your computer and use it in GitHub Desktop.
Automate Xero reconcilliation
setInterval(() => {
let okayButtons = document.querySelectorAll('.okayButton');
okayButtons.forEach(button => {
if (getComputedStyle(button).display !== 'none') {
button.click();
}
});
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment