Greasy Fork

CWSS

Complete WebSocket Sniffer

当前为 2022-04-22 提交的版本,查看 最新版本

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/438408/1042744/CWSS.js

作者
Exnonull
版本
2.7.1
创建于
2022-01-12
更新于
2022-04-22
大小
3.7 KB
许可证
MIT

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);