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

How to download and manually install console.diff(...) extension for Chrome

Looking for a way to install console.diff(...) extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install console.diff(...) extensions manually, this article outlines two simple methods to effortlessly install console.diff(...) extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download console.diff(...) extension and manually install through Drag &Drop

If you ever need to manually install a console.diff(...) extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the console.diff(...) Extension by clicking the "Download CRX" button on the website.

Look for the console.diff(...) extension you wish to install. Go to the website and download the console.diff(...) extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for console.diff(...) extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the console.diff(...) extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download console.diff(...) extension for Chrome and install in Developer Mode

This is another method to install console.diff(...) extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the console.diff(...) extension file

Select and download the console.diff(...) extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the console.diff(...) extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your console.diff(...) extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the console.diff(...) extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install console.diff(...) extension in 2 ways. We hope this guide proves helpful.

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 :)