Greasy Fork is available in English.

Uniban_CN

UnitedBan For BC

// ==UserScript==
// @license WTFPL
// @antifeature tracking
// @name Uniban_CN
// @description UnitedBan For BC
// @version Beta_1
// @namespace uni_ban
// @match *://*/*BondageClub*
// @match *://*.bondage-europe.com/*
// @match *://*.elementfx.com/*
// @grant GM_registerMenuCommand
// ==/UserScript==
(function() {
    fetchData = function() {
        fetch('https://apis.huzpsb.eu.org/uniban/fetch').then(response=>response.text()).then(data=>{
            BanList = data.split(',');
            isBanned = function(i) {
                return (BanList.indexOf('' + i)) != -1;
            }
            GM_registerMenuCommand('Report a player', ()=>{
                window.open("https://apis.huzpsb.eu.org/report.html");
            }
            );
            ChatRoomNotificationRaiseChatJoin = function(C) {
                setTimeout(function() {
                    if (isBanned(C.MemberNumber)) {
                        ServerSend('ChatRoomAdmin', {
                            MemberNumber: C.MemberNumber,
                            Action: 'Ban'
                        });
                        return;
                    }
                }, 1000);
            }
        }
        ).catch(e=>alert('Uniban : Nerwork Error!'));
    }
 
    initBan = function() {
        console.log('Uniban: Waiting');
        if (Player && Player.Name) {
            fetchData();
        } else {
            setTimeout(initBan, 1000);
        }
    }
 
    setTimeout(initBan, 3000);
}
)();