Greasy Fork is available in English.

Discussions » Creation Requests

Automatic checkbox unchecker for certain sites [request]

§
Posted: 12-08-2022

I've found some chrome "unchecker" plugins, but you need to activate them manually. The idea idea is say you go for online shopping and you don't want sites to save your credit card data. But sometimes you might forget to uncheck the annoying tickbox.
The main idea is it automatically unchecks everything on a certain page soon as you open it. And, perhaps, it should be unchecking every time interval if payment is happening on a same page but within a dedicated window.

§
Posted: 12-08-2022
Edited: 12-08-2022

This does that
document.querySelectorAll("input[type='checkbox']").forEach(el => el.checked = false);

But some check boxes can be made of different html elements, so it might not work for all checkboxes on the page.

Post reply

Sign in to post a reply.