Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Use this on the Wikipedia page for "List of largest daily changes in the Dow Jones Industrial Average"
var tds = document.querySelectorAll('td');
// Use in the console for
for (var i = 0; i<tds.length; i++) {
var td = tds[i];
if (td.innerText.indexOf('2020-0') === -1) { = 0.3; =')', ',0.3)');

This comment has been minimized.

Copy link
Owner Author

artlung commented Jun 26, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.