for (const input of document.querySelectorAll('input[type=checkbox]')) {
if (!input.checked) {
input.click();
await new Promise(res => setTimeout(res, 250));
}
} for (const input of document.querySelectorAll('input[type=checkbox]')) {
if (!input.checked) {
input.click();
await new Promise(res => setTimeout(res, 250));
}
} window.addEventListener("change", function(e) {
if (e.target instanceof HTMLInputElement && !e.target.checked) {
e.target.click();
}
});