Skip to content

Instantly share code, notes, and snippets.

@Lwdthe1
Last active August 21, 2017 21:52
Show Gist options
  • Save Lwdthe1/64d1d0ffb74662c4b26be41f64519177 to your computer and use it in GitHub Desktop.
Save Lwdthe1/64d1d0ffb74662c4b26be41f64519177 to your computer and use it in GitHub Desktop.
Select Chrome bookmarks to act on (delete, etc.) at chrome://bookmarks/#p=/me&hl=en-US
function run378268() {
var xcczxc = document.getElementsByClassName('col-list-checkbox')
for (var i = 0; i < xcczxc.length; i++) {
if(xcczxc[i].clicked == true) continue
xcczxc[i].click()
xcczxc[i].clicked = true
}
window.scroll(0,500)
}
var run378268Interval = setInterval(() => {
run378268()
}, 1000)
@Lwdthe1
Copy link
Author

Lwdthe1 commented Aug 21, 2017

You'll probably want to close the tab once you're done in order to clear the interval. Or you could call clearInterval(run378268Interval)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment