Code Monkey home page Code Monkey logo

cheat_server's Introduction

cheat_server

关于

本脚本/软件是为方便调试网页中的js所写,需要配合Gooreplacer插件使用(或者其他一类重定向请求的插件)。

使用

  • 将js文件放在config.json配置中scripts_path对应的相对目录中,默认scripts
  • 在配置文件中配置你所需要的返回头
  • 配置好你需要的端口和地址,默认地址127.0.0.1,默认端口22222
  • 运行exe或脚本
  • 在Gooreplacer插件中重定向网页中的js到http://127.0.0.1:22222/js文件名,并使规则生效

好了,现在你可以在本地实时修改js了,在浏览器中刷新就能生效了。 注意在Network一栏选中Disable Cache或者给本地的js配置中设定不缓存,但也需要强制刷新一遍才能生效

其他

示例参考:https://blog.weimo.info/archives/441

cheat_server's People

Contributors

xhlove 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.