Giter Club home page Giter Club logo

fdnqxc's Introduction

复旦南区选餐脚本

如何使用

安装 Chrome 扩展插件 TamperMonkey,选择添加新脚本,并将 script.js 中的所有内容复制到编辑器中,修改 config 中的除 debug 外各个字段为你的个人信息,按 Ctrl + S 保存即可。请检查你的脚本是否被启用。

以下为样例 config:

const config = {
    debug: false, // 这条不用修改
    name: "张三",
    uis: "20301010001",
    phone: "18012345678",
    breakfast: "套餐A",
    lunch: "套餐A",
    dinner: "套餐A",
    district: "邯郸-南区D区",
    building: "7号楼",
    floor: "1楼",
    room: "102"
};

如何测试脚本能否使用

修改 config 中的 debug 字段为 true,保存,并在选餐时段外访问 https://f.wps.cn/w/BBOW4qdu/ 。此时脚本会按你的个人信息试图帮你再填一份,若各信息填写正确并提交即为正常运行。记得将 debug 字段重新设为 false

fdnqxc's People

Contributors

dest1n1s avatar

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.