Greasy Fork is available in English.
Complete WebSocket Sniffer
当前为 
        此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/438408/1041200/CWSS.js
      
Example
const self = {
    priority: 0,
    args() {
        return arguments;
    },
    init() {
        return arguments;
    },
    
    open() {
        return arguments;
    },
    close() {
        return arguments;
    },
    message(e) {
        return arguments;
    },
    send(data) {
        return arguments;
    },
};
CWSS.setHook(self);