Giter Club home page Giter Club logo

matman-devtools's Introduction

matman-devtools

Chrome devtools for matman

如何使用

  • 安装扩展程序之后,打开开发者工具
  • 它将出现在 Elements 面板中,与 Styles 平级,命名为 "matman" 的子面板。只要选择了元素,则该工具会有相应的变化(与调试样式的体验一致)
  • 同时还会有一个 matman-exec 的页面,与 Elements 平级,在其中可以进行爬虫脚本的编辑与执行,执行结果将实时反馈(目前仅支持一个函数的情况)

开发调试

安装

  1. 运行 npm i 命令;
  2. 运行 npm run build:install 命令;
  3. 打开 chrome 浏览器,访问 chrome://extensions/
  4. 点击右上角的 "开发者模式";
  5. 点击 "加载已解压的扩展程序",然后选择到本项目的 build 目录即可

更新

当改变了代码之后,在 chrome://extensions/ 找到本程序,点击 "刷新" 的图标,然后再重新打开开发者工具。

有时候刷新了程序还不够,可能还需要刷新页面,尤其是有 content script 的场景;为了识别当时加载的时最新的代码,建议在某些地方输出不一样的标记,例如 panel ui 中,或者使用 console.log 输出不一样的标记。

更多资料

matman-devtools's People

Contributors

helinjiang avatar wangjq4214 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.