Remove Alerts on kiwiexploits.com [Extention]

Removes all JavaScript alerts on kiwiexploits.com (This is an extention of Kiwi auto Key Gen)

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

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

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

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

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

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Remove Alerts on kiwiexploits.com [Extention]
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Removes all JavaScript alerts on kiwiexploits.com (This is an extention of Kiwi auto Key Gen)
// @author       Foch2803
// @match        https://kiwiexploits.com/*
// @icon                https://avatars.githubusercontent.com/u/139727811?s=400&u=a73138b011a6f48b9eaad88da89aa9fedd35d6cf&v=4
// @icon64              https://avatars.githubusercontent.com/u/139727811?s=400&u=a73138b011a6f48b9eaad88da89aa9fedd35d6cf&v=4
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    window.alert = function() {};
    window.prompt = function() {};
    window.confirm = function() { return true; };
    const installButton = document.getElementById('install-button');

    if (installButton) {
        const connectedText = document.createElement('p');
        connectedText.textContent = 'Connected to Alert Remover';
        connectedText.style.textAlign = 'center';
        installButton.insertAdjacentElement('afterend', connectedText);
        installButton.remove();
        setTimeout(() => {
            connectedText.style.opacity = '0';
            connectedText.style.transition = 'opacity 0.5s ease';

            setTimeout(() => {
                connectedText.remove();
            }, 500);
        }, 3000);
    }
})();