console.diff(...)
Compare objects in memory with console.diff(old, new) devtools function
什么是console.diff(...)?
console.diff(...)是由Alexander Block开发的Chrome扩展程序,该扩展的主要功能是“Compare objects in memory with console.diff(old, new) devtools function”。
扩展截图
下载console.diff(...)扩展crx文件
下载console.diff(...)扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。
扩展使用说明
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.
Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart browser.
API:
// compare left and right
console.diff(left, right);
// shorthand for console.diffPush(next)
console.diff(next);
// update object on the left side only
console.diffLeft(left);
// update object on the right side only
console.diffRight(right);
// shifts sides, right becomes left, next becomes right
console.diffPush(next);
Read more at: https://github.com/zendive/jsdiff 扩展基本信息
| 名称 | |
| ID | iefeamoljhdcpigpnpggeiiabpnpgonb |
| 官方URL | https://chromewebstore.google.com/detail/consolediff/iefeamoljhdcpigpnpggeiiabpnpgonb |
| 简介 | Compare objects in memory with console.diff(old, new) devtools function |
| 文件大小 | 93.89 KB |
| 安装次数 | 229 |
| 当前版本 | 3.0.5 |
| 更新时间 | 2024-02-06 |
| 上架时间 | 2019-02-22 |
| 评分 | 5.00/5 共2次评分 |
| 开发者 | Alexander Block |
| 电子邮箱 | [email protected] |
| 付费类型 | free |
| 扩展官网 | https://github.com/zendive/jsdiff |
| 帮助页面URL | https://github.com/zendive/jsdiff/issues |
| 支持的语言 | en |
| manifest.json | |
{
"update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
"manifest_version": 3,
"name": "console.diff(...)",
"version": "3.0.5",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlCx2Bl0li+3idvfrH9cQL\/MzphafGFqMUA2P+0vbyhwxsxWl0llOaGQbkirX5qCoAVHoUCPqu3hCjpVCv35igPbfqDs5bdLZZmXt2F0HjEQnWI\/eZKd9IKcKYMplEeL2BodmpU02VrP1UnUzQHZeeMWk9ybgWOqCimkwliILVubRj5dxNB9AidLwO4Z5iGq\/OvW9AJMYdxKxrLP2lF6\/GGNcCBg+iCJZwlQOhFB9LbUjytT4ws3bIEX4b5zmWLqGKR1NiZfGug2eCWXt9oEKg2WkbXmBBzFKqxnM\/bBUrVR29N9qNgx0f42qnyhsW3Bo4kPzE3d0asXCV5nofLTLEwIDAQAB",
"description": "Compare objects in memory with console.diff(old, new) devtools function",
"minimum_chrome_version": "100.0",
"homepage_url": "https:\/\/github.com\/zendive\/jsdiff",
"author": "[email protected]",
"permissions": [
"storage"
],
"host_permissions": [
"*:\/\/*\/*"
],
"devtools_page": "bundle\/jsdiff-devtools.html",
"icons": {
"28": "bundle\/img\/panel-icon28.png",
"64": "bundle\/img\/panel-icon64.png",
"128": "bundle\/img\/panel-icon128.png"
},
"content_scripts": [
{
"world": "MAIN",
"js": [
"\/bundle\/js\/jsdiff-console.js"
],
"matches": [
" | |