On Mastodon:
setInterval(() => document.querySelector(".account-authorize__wrapper button[title='Authorize']").click(), 1000);