Git Product home page Git Product logo

approval-auxiliary-script-for-minebbs's Introduction

# 项目介绍

为了推进MineBBS全站审核, 加快管理人员/风纪委员会的审核速度 编写了此脚本, 用于便利审核人员

# 安装部署

主要分为 违禁词API部署 和 脚本本体安装

1. 安装脚本本体

main.js的内容复制到油猴(Tampermonkey)新建脚本即可

2. 违禁词API部署

worker文件夹的内容部署到CloudFlare的Worker上

2.1 修改脚本代码

修改main.js的代码

const PROHIBITEDWORDS_URL = 'http://127.0.0.1:8787/api/prohibitedWords';

将链接的地址改为 [实际的域名]/api/prohibitedWords,例如:

const PROHIBITEDWORDS_URL = 'https://example.com/api/prohibitedWords';

修改main.js的脚本信息头

// @connect      raw.githubusercontent.com
// @connect      ipinfo.io
// @connect      ip.cn
// @connect      127.0.0.1

127.0.0.1改为实际的接口域名

// @connect      raw.githubusercontent.com
// @connect      ipinfo.io
// @connect      ip.cn
// @connect      example.com

2.2 违禁词编写

打开worker文件夹, prohibitedWords.js内的word数组 将需要的的违禁词填写到数组当中, 本仓库不提供违禁词

approval-auxiliary-script-for-minebbs's People

Contributors

posiedchoss avatar daxue403 avatar

Stargazers

LT_Name avatar 科幻大脑 avatar

Watchers

 avatar  avatar

Forkers

posiedchoss

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.