Skip to content

Instantly share code, notes, and snippets.

View DDHost's full-sized avatar
💭
IDK

DDHost DDHost

💭
IDK
View GitHub Profile
@AhsanAyaz
AhsanAyaz / appflashback-hack.js
Last active January 26, 2022 23:01
Hack for appflashback.com
// run this when the round starts
const emojiElements = document.querySelectorAll(".card-inner");
const matchedElementIndices = [];
const matches = [];
for(let i = 0, len = emojiElements.length; i<len; i++) {
const currentElement = emojiElements[i];
if(matchedElementIndices.includes(i)) {
continue;
}
for(let j = i + 1; j < len; j++) {