Created
May 5, 2025 10:01
-
-
Save do-me/2dab95869cd411497620604bc9c0b55b to your computer and use it in GitHub Desktop.
Extracts Trumps ban words from website
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
// https://pen.org/banned-words-list/ on 5/5/2025 | |
let words = []; | |
document.querySelectorAll('td').forEach(cell => { | |
const text = cell.textContent.trim(); | |
if (text) { | |
words.push(text); | |
} | |
}); | |
words.sort((a, b) => a.toLowerCase().localeCompare(b.toLowerCase())); | |
console.log(words.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.