Remove Alerts on kiwiexploits.com [Extention]

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

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 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);
    }
})();