Last active
March 16, 2018 07:24
-
-
Save Wirone/22bbfabc588d5d0dd703264968522fea to your computer and use it in GitHub Desktop.
Simple script for selecting all items on Chrome's browsing history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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