Kahoot scoreboard skip

Skip the kahoot scoreboard

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Kahoot scoreboard skip
// @version      1.1.2.1
// @description  Skip the kahoot scoreboard
// @author       codingMASTER398
// @match        https://play.kahoot.it/v2*
// @run-at       document-start
// @grant        none
// @namespace https://greasyfork.org/users/682906
// ==/UserScript==
window.antibotAdditionalScripts = window.antibotAdditionalScripts || [];
window.antibotAdditionalScripts.push(()=>{
    console.log("[SCOREBOARD SKIP] running")
    setTimeout(() => {
        if(window.toInsert){
            window.toInsert.innerHTML = window.toInsert.innerHTML + ", scoreboard skip";
        }else{
            window.toInsert = document.createElement("div");
            window.toInsert.innerHTML = "scoreboard skip";
            window.toInsert.style.color = 'white'
            window.toInsert.style.position = "absolute";
            window.toInsert.style.bottom = "0px";
            window.toInsert.style.textAlign = "left";
            window.toInsert.style.width = "100%";
            window.toInsert.style.color = "black"
            document.body.appendChild(window.toInsert);
        }
    }, 800);
    
    setInterval(function() {
        if(document.getElementsByClassName('kFPtaw animated-scoreboard__Button-sc-16j1vhw-9')[0]){
            document.getElementsByClassName('kFPtaw animated-scoreboard__Button-sc-16j1vhw-9')[0].click();
        }
    },1)
})