Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    document.querySelectorAll("[type='checkbox']").forEach(c => c.checked = undefined)
Adjust the selector as neccessary, sometimes I'll use `#id-of-cookie-banner [type='checkbox']`

Probably useless for mobile though, unless you can punch it in the omnibar with `javascript:` prefix



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: