Created
September 21, 2015 15:27
-
-
Save tomykaira/d30539a5b83823903f41 to your computer and use it in GitHub Desktop.
Select all results from chrome://history. be sure that history iframe is selected.
This file contains 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
var arrayMethods = Object.getOwnPropertyNames( Array.prototype ); | |
arrayMethods.forEach( attachArrayMethodsToNodeList ); | |
function attachArrayMethodsToNodeList(methodName) | |
{ | |
if(methodName !== "length") { | |
NodeList.prototype[methodName] = Array.prototype[methodName]; | |
} | |
}; | |
document.querySelectorAll('input').forEach(function (d) { d.checked = true }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment