Skip to content

Instantly share code, notes, and snippets.

@Wirone
Last active March 16, 2018 07:24
Show Gist options
  • Save Wirone/22bbfabc588d5d0dd703264968522fea to your computer and use it in GitHub Desktop.
Save Wirone/22bbfabc588d5d0dd703264968522fea to your computer and use it in GitHub Desktop.
Simple script for selecting all items on Chrome's browsing history
// Select all results in chrome://history-frame/
Array.prototype.slice.call(document.getElementsByTagName('input'))
.forEach(function(inp) {
if(inp.type != 'checkbox') { return; }
inp.checked = true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment