IDNS Chat FastSend

Enables you to send messages without being limited for 3s after sending a message.

当前为 2023-09-30 提交的版本,查看 最新版本

// ==UserScript==
// @name         IDNS Chat FastSend
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Enables you to send messages without being limited for 3s after sending a message.
// @author       You
// @match        http://chat.idnsportal.com/*
// @icon         http://chat.idnsportal.com/icons/favicon-96x96.png
// @grant        none
// @license      WTFPL
// ==/UserScript==

(function() {
    'use strict';
    const el = document.querySelector('.messageinput')

    function callback() {
        el.disabled = false
        el.focus()
    }

    const observer = new MutationObserver(callback)
    observer.observe(el, { attributes: true })
})();