quizlet match game cheat

try to take over the world!

目前为 2019-07-31 提交的版本。查看 最新版本

// ==UserScript==
// @name         quizlet match game cheat
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://quizlet.com/21450317/match
// @grant        none
// ==/UserScript==

document.onreadystatechange = ()=>{
    if(document.readyState === 'complete'){
        // document.getElementsByClassName('UIButton UIButton--hero')[0].click();
        setTimeout(()=>{
            let container = document.getElementsByClassName('MatchModeQuestionScatterBoard is-ready')[0],
                all_options = container.children,
                words = [],
                description = [],
                color_code = ['pink','blue','yellow','red','black','green'];
            let ad = document.getElementsByClassName('ModeLayout-ad')[0];
            ad.parentElement.removeChild(ad);
            for(let i = 0;i<all_options.length;i++){
                if(all_options[i].innerText.split(' ').length <= 3){
                    words.push(all_options[i]);
                }else{
                    description.push(all_options[i]);
                }
            }
            for(let j = 0;j<words.length;j++){
                let a = words[j],
                    b = description[j],
                    c = a.style.transform.split('e')[1];
                b.style.backgroundColor = color_code[j];
                a.style.backgroundColor = color_code[j];
            }
            console.log(words,description);
        },10);
    }
};

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址