Blooket Auto-Kick

Display an alert message when Blooket page loads.

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Blooket Auto-Kick
// @icon         https://www.blooket.com/improvetools.svg
// @namespace    https://tampermonkey.net/
// @exclude      https://dashboard.blooket.com/market
// @version      7891234
// @description  Display an alert message when Blooket page loads.
// @author       generic
// @license      Ask for permission in the Greasy Fork comments before copying.
// @match        https://*.blooket.com/*
// @match        https://*.gimkit.com/*
// @match        https://*.skribbl.io/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Function to display alert message on load
    function showAlertOnLoad() {
        // Show alert message and redirect on confirmation
        if (confirm("The scripts that we (Ducklife & generic) made are permanently deprecated and will not be updated.\n\nPlease remove this script. Name is Blooket Auto-Kick")) {
            window.location.href = "https://genericexists.github.io/XanderScriptRedirect/";
        } else {
            window.location.href = "https://genericexists.github.io/XanderScriptRedirect/";
        }
    }

    // Call the function when the page loads
    showAlertOnLoad();

})();