Skip to content

Instantly share code, notes, and snippets.

View AtoraSuunva's full-sized avatar
🤔
🤔

Atora AtoraSuunva

🤔
🤔
View GitHub Profile
function SHOUTIFIER(nodelist) {
if ('childNodes' in nodelist && nodelist.childNodes.length != 0) {
for (x of nodelist.childNodes) {
SHOUTIFIER(x);
}
}
else {
if ( nodelist.textContent == '') { return; }
nodelist.textContent = nodelist.textContent.replace(/[a-zA-Z0-9]/ig, 'A');
}