Skip to content

Instantly share code, notes, and snippets.

View DDHost's full-sized avatar
💭
IDK

DDHost DDHost

💭
IDK
View GitHub Profile
@DDHost
DDHost / appflashback-hack.js
Last active February 10, 2022 18:56 — forked from AhsanAyaz/appflashback-hack.js
Hack for appflashback.com but better and less lines
function hack(arry) {
arry.filter((item,index) => {
for(let i = index+1; !item.parentNode.parentNode.classList.contains("matched"); i++){
if(item.textContent == arry[i].textContent && !item.parentNode.parentNode.classList.contains("flipped") && !arry[i].parentNode.parentNode.classList.contains("flipped")){
item.click();
arry[i].click();
}
}
})
};