Rei is Shit.
kiwifarms.net
- Joined
- Dec 12, 2022
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Wow, I didn't realize my parents were KFers.That was disappointing.
N | E | R | V | Y |
G | H | O | S | T |
P | L | U | M | B |
M | O | L | D | S |
M | O | D | E | L |
M | O | D | A | L |
function wordleBtn() {
const qSA = e => document.querySelectorAll(e);
const qSAel = (e1, e2) => e1.querySelectorAll(e2);
const log = e => console.log(e);
function extractWordleResults() {
const rows = qSA('.Row-module_row__pwpBq');
const emojiGrid = [];
const tableRows = [];
rows.forEach(row => {
const tiles = qSAel(row, '.Tile-module_tile__UWEHN');
const rowEmojis = [];
const tableCells = [];
tiles.forEach(tile => {
const letter = tile.textContent.toUpperCase();
const state = tile.getAttribute('data-state');
if (state === 'correct') {
rowEmojis.push('🟩');
tableCells.push(`[td width="20%" bgcolor="green"][CENTER]${letter}[/CENTER][/td]`);
} else if (state === 'present') {
rowEmojis.push('🟨');
tableCells.push(`[td width="20%" bgcolor="yellow"][CENTER]${letter}[/CENTER][/td]`);
} else {
rowEmojis.push('⬛');
tableCells.push(`[td width="20%" bgcolor="gray"][CENTER]${letter}[/CENTER][/td]`);
}
});
if (tiles[0].textContent !== '') {
emojiGrid.push(rowEmojis.join(''));
tableRows.push(`[TR]${tableCells.join('')}[/TR]`);
}
});
const output = `${emojiGrid.join('\n')}\n\n[SPOILER="spoiler: actual guesses"][TABLE width="50%"]${tableRows.join('')}[/TABLE][/SPOILER]`;
log(output);
return output;
}
function addShareButton() {
const toolbar = qS('.Toolbar-module_toolbar__DGjo1');
const button = document.createElement('button');
button.type = 'button';
button.className = 'ToolbarItem-module_toolbar_item__xrBr_ ToolbarItem-module_toolbar_itemDesktop__jFTZJ';
button.id = 'share-button';
button.setAttribute('aria-label', 'Share Wordle Results');
button.innerHTML = '<div class="Icon-module_iconWrapper__ZfKPm"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 32" width="32" class="game-icon"><path fill="var(--color-tone-1)" d="M23 6l-9 9v2l9 9 6-9-6-9zm-4 12h-3v3h-2v-3h-3v-2h3v-3h2v3h3v2zm-6 7v2H7c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2h6v2H7v18h6z"></path></svg></div>';
button.addEventListener('click', () => {
const results = extractWordleResults();
navigator.clipboard.writeText(results).then(() => {
alert('Wordle results copied to clipboard!');
});
});
toolbar.querySelector('menu').appendChild(button);
}
addShareButton();
}
setTimeout(wordleBtn, 10000);
It is a word. You didn't read enough of those illustrated books about animals as a kid.This isn't even a word.
I disagree, I remember it because Joosh spoke of a slow loris DDoS attack against the farms on a MATI episode.This isn't even a word.
Wordle 1,490 4/6*
![]()