Uncheck Buttons With JavaScript 0 ▲ Jake Worth 15 hours ago · Tech · hide · 0 comments Today I used JavaScript to mass-unsubscribe from a website’s email notifications. Here’s the code, followed by what I did and why. document .querySelectorAll('[role="switch"]') .forEach((element) => element.click()); No comments yet. Log in to reply on the Fediverse. Comments will appear here.