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

jsdiff.diff(...) 作者: A. Block

Compare objects in memory with jsdiff.diff(old, new) devtools function

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

扩展元数据

屏幕截图
关于此扩展
An extension for developers that enhances the console API by incorporating the ability to compare objects and adds a JSDiff tab (parallel to Elements, Network panels) within your dev-tools for viewing the results.

Motivation:
Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes.

Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart the browser.

API:
// compare left and right
jsdiff.diff(left, right);

// shorthand for jsdiff.diffPush(next)
jsdiff.diff(next);

// update object on the left side only
jsdiff.diffLeft(left);

// update object on the right side only
jsdiff.diffRight(right);

// shifts sides, right becomes left, next becomes right
jsdiff.diffPush(next);

Read more at: https://github.com/zendive/jsdiff
开发者留言
Extension for Chrome can be found here: https://chromewebstore.google.com/detail/consolediff/iefeamoljhdcpigpnpggeiiabpnpgonb
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据详细了解

必要权限:

  • 让开发者工具可以存取您打开的标签页中的数据
  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
3.1.0
大小
76.12 KB
上次更新
4 个月前 (2025年4月9日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
A. Block 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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