GitHub PR bulk mark file as viewed
Tick "Viewed" on every file you've scrolled past on a GitHub Pull Request
// Tick "Viewed" on every file you've scrolled past on a
// GitHub Pull Request
$$('.js-reviewed-checkbox').forEach((el) => {
if (!el.checked && window.scrollY > el.getBoundingClientRect().top) {
el.click();
}
});