Greasy Fork 还支持 简体中文。

FUCK TOTAL CHAT

FUCK EMM

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         FUCK TOTAL CHAT
// @version      1.0.0
// @description  FUCK EMM
// @author       DaCurse0
// @copyright    2017+, DaCurse0
// @match        http://totalchat.tapuz.co.il/
// @match        http://totalchat.co.il/
// @require      https://code.jquery.com/jquery-latest.min.js
// @namespace https://greasyfork.org/users/62051
// ==/UserScript==

$(function() {
    var msg = '';
    var on = false;
    var i;
    $('#header-banner').append('<input id="botmsg"> <button id="setmsg">Set</button> <button id="togglebot">Start</button>');
    $('#setmsg').click(function() {
        msg = $('#botmsg').val();
    });
    $('#togglebot').click(function() {
        if(!on) {
            on = true;
            i = setInterval(function() {$('#textinput').val(msg + " " + Math.random().toString(36).substr(2));$('#btn-send').click();$('#div-colors').children()[Math.floor(Math.random() * ($('#div-colors').children().length - 1))].click();}, 800);
            $('#togglebot').text('Stop');
        } else {
            on = false;
            clearInterval(i);
            $('#togglebot').text('Start');
        }
    });
});