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

Latest Version

Version
3.0.6
Update
November 14, 2024
Size
66.71KiB
Developer
Category
Users
258
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

console.diff(...) Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "console.diff(...)", "version": "3.0.6", "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#readme", "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": [""], "match_origin_as_fallback": true, "all_frames": true, "run_at": "document_start" }, { "js": ["/bundle/js/jsdiff-proxy.js"], "matches": [""], "match_origin_as_fallback": true, "all_frames": true, "run_at": "document_start" } ]}
Read more

Similar Extensions

icon

Serverless Workflow Editor for GitHub Extension · Productivity 258 1 ★ 101KiB

icon

Irb-Console Extension · Developer Tools 258 2 ★ 557KiB

icon

Carload Controller Extension · Developer Tools 258 0 ★ 8.08KiB

icon

Slides Captions Extension · Accessibility 258 1 ★ 14.54KiB

icon

JobJette - Free AI Job Search Copilot Extension · Productivity 258 1 ★ 1.2MiB

icon

GPT Summary Extension · Productivity 258 0 ★ 17.24KiB

icon

AuthentiSci Extension · News & Weather 258 0 ★ 160KiB

icon

Github JSON Editor Extension · Productivity 258 0 ★ 517KiB

icon

Trello minimal UI toggle Extension · Productivity 258 3 ★ 232KiB

icon

GM Assistant Extension · Productivity 258 9 ★ 49.11KiB

icon

Propmarker Browser Extension Extension · Productivity 258 0 ★ 89.88KiB

icon

Quiz Sniper Extension · Productivity 258 0 ★ 451KiB

icon

ErrorsSpy Extension · Developer Tools 258 2 ★ 17.08KiB

icon

Console Extension · Productivity 258 1 ★ 37.79KiB

icon

Mastodon Handles in Twitter Extension · Social & Communication 258 3 ★ 11.95KiB

icon

Git Diff Flex Extension · Developer Tools 258 1 ★ 19.54KiB

icon

CareerComposeAI: Cover Letter Powered by GPT Extension · Productivity 258 6 ★ 789KiB

icon

Boss Hub | Link Extension · Productivity 258 1 ★ 490KiB

icon

blindfold.ai - targeted resumes using AI Extension · Productivity 258 12 ★ 2.79MiB

icon

RE:DOM dev tools Extension · Developer Tools 258 1 ★ 207KiB

icon

CoffeeScript Console 3 Extension · Developer Tools 258 0 ★ 438KiB

icon

AutoReview for Power Automate Extension · Developer Tools 258 2 ★ 4.96MiB

icon

Rempl Extension · Developer Tools 258 6 ★ 21.87KiB

icon

Map to IntelliJ IDE Extension · Developer Tools 258 1 ★ 3.79KiB

User reviews

icon

Peter Tandler (ID: 000000523e20e849) Voted 5 ★ - Updated 06/20/2023 When use have complex JS objects and need to know what changed, this is so extremely helpful! Thanks for sharing! Save me already hours.

icon

Isaac Drew (ID: 0000004f5f50485e) Voted 5 ★ - Updated 08/27/2021 Incredibly useful. I don't think much maintenance will be required for an extension like this, but if there is I hope they'll keep it up :)