3 ms·
My TAS can be slightly adjusted to work with this one: let observer = new MutationObserver(mutations => { for (const { target } of mutations) {
by chrismorgan 4y ago
My TAS can be slightly adjusted to work with this one:
let observer = new MutationObserver(mutations => {
for (const { target } of mutations) {
if (target.checked == target.disabled) {
target.click();
}
}
});
document.querySelectorAll("[type=checkbox]").forEach(checkbox => {
observer.observe(checkbox, {attributes: true});
});
Then click on the first checkbox and it’ll do all of the rest. Time varies a bit, best I’ve done in a couple of dozen attempts is 00:00:03.