One-liner to check/uncheck every checkbox on a page

Press F12, click console and paste this in there.
[].slice.call(document.querySelectorAll(“input”)).forEach(i => i.checked=true)