Greasy Fork

Greasy Fork is available in English.

Blooket Auto-Kick

Display an alert message when Blooket page loads.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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();

})();