Created
July 12, 2017 10:42
-
-
Save deadcoder0904/4b50f76c427cc056e61f1afd0f427a10 to your computer and use it in GitHub Desktop.
Keywords Everywhere get only keywords in an array format
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
var sorting = document.querySelectorAll('td'); | |
var keywords = []; | |
sorting.forEach((keyword, i) => { | |
if((i - 1) % 8 === 0) keywords.push(keyword.innerHTML); | |
}); | |
console.log(JSON.stringify(keywords, null, 2)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment