Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Weh Inspector 预览

Weh Inspector 作者: mig

Trace Remote Procedure Calls on Weh-2 addons

4.3 (7 reviews)4.3 (7 reviews)
36 个用户36 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Displaying RPC logShowing storage dataReading/Writing add-on preferences
关于此扩展
WehInspector is a tool add-on to help debugging WebExtensions add-ons developed with the Weh2 toolkit (available under Mozilla Public License 2.0 from https://github.com/mi-g/weh.

It provides the following capabilities:
  • Trace Weh Remote Procedure Calls between the add-on background and other components: local add-on content, web pages injected content, web workers, native applications, ...
  • Read and write add-on preferences
  • Read add-on storage data (both HTML5 and WebExtensions storage API)

The WehInspector add-on, along with its source code, is part of the Weh2 project and you can build and install it from there, but for convenience it is also available publicly for direct installation.

WehInspector user interface runs in a single tab. To create or select that tab, right click in a page content and pick "Weh Inspector" from the context menu. In the dropdown menu at the top left, select the Weh2-based addon to debug (if you have only one installed, it will be selected automatically).

There is one thing it is important to understand when inspecting RPC calls: WehInspector has a settings parameter, "Messages display mode", that can take one of 3 values: "synchronous on call", "synchronous on reply", "asynchronous". Let's take a common situation where the background calls a function A from a content component, this function calls B from the background and returns. This will be 4 messages: call A, call B, reply B, reply A. If the "Messages display mode" is set to "synchronous on reply" (the default), you will see 2 entries in the WehInspector interface: the call to B, then the call to A. If set to "synchronous on call": the call to A, then the call to B, and if "asynchronous", you will see 4 entries corresponding to the messages explained earlier.
评分 4.3(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
5
4
1
3
0
2
0
1
1
阅读全部 7 条评价
权限与数据详细了解

必要权限:

  • 监控扩展使用情况和管理主题
  • 获取浏览器标签页
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
2.2resigned1
大小
305.82 KB
上次更新
1 年前 (2024年4月25日)
相关分类
  • 网页开发
  • 其他
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
mig 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。