A Chrome DevTools Extension that displays stacking contexts and z-index values in the elements panel
z-context Extension
By Using Z-Context, you'll know:
- If the current element creates a stacking context, and why
- What its parent stacking context is
- The z-index value
--------
v3.0.0 - Update to manifest v3 and update stacking context rules https://github.com/gwwar/z-context/pull/29
v2.1.0 - Includes http protocol to facilitate development use cases https://github.com/gwwar/z-context/pull/23
v2.0.0 - Adds support for inspecting iframes https://github.com/gwwar/z-context/pull/21 https://github.com/gwwar/z-context/pull/22
v1.1.0 - Adds z-index stacking context rules as of 2021. Adds fixes for position sticky and shadow dom, props to roperzh and edenilan! See pulls 10, 17 and 18 at https://github.com/gwwar/z-context.
v1.0.4 - fixes will-change case. a stacking context is created for opacity/transform but not other values https://github.com/gwwar/z-context/pull/9
v1.0.3 - fixes display reason for flex-items https://github.com/gwwar/z-context/pull/4
v1.0.2 - adds new z-index rules, fixes a bug when inspecting a shadow dom elements. https://github.com/gwwar/z-context/pull/3
v1.0.1 - fix reason message for non-static positions, props to giuseppeg. https://github.com/gwwar/z-context/pull/1
Source Manifest.json
How to download and manually install z-context extension for Chrome
Looking for a way to install z-context 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 z-context extensions manually, this article outlines two simple methods to effortlessly install z-context extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download z-context extension and manually install through Drag &Drop
If you ever need to manually install a z-context 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 z-context Extension by clicking the "Download CRX" button on the website.
Look for the z-context extension you wish to install. Go to the website and download the z-context extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for z-context 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 z-context 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 z-context extension for Chrome and install in Developer Mode
This is another method to install z-context 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 z-context extension file
Select and download the z-context 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 z-context 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 z-context 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 z-context 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 z-context extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
DevTools z-index 7,000+ 13 ★ 22.53KiB
CSS Stacking Context inspector 7,000+ 21 ★ 262KiB
Web Vitals 7,000+ 43 ★ 398KiB
CSS Used 7,000+ 184 ★ 164KiB
Dimensions 7,000+ 454 ★ 17.28KiB
Xdebug helper 7,000+ 429 ★ 70.13KiB
Positionable! 7,000+ 32 ★ 116KiB
Redux DevTools 7,000+ 726 ★ 1.2MiB
VisBug 7,000+ 252 ★ 5.38MiB
MobX Developer Tools 7,000+ 51 ★ 682KiB
BrowserStack 7,000+ 95 ★ 805KiB
Grid Ruler 7,000+ 335 ★ 288KiB
LiveReload 7,000+ 808 ★ 60.78KiB
axe DevTools - Web Accessibility Testing 7,000+ 114 ★ 2.89MiB
Apollo Client Devtools 7,000+ 266 ★ 490KiB
Refined GitHub 7,000+ 213 ★ 572KiB
Angular DevTools 7,000+ 159 ★ 3.2MiB
Requestly - Intercept, Modify & Mock HTTP Requests 7,000+ 1227 ★ 876KiB
WAVE Evaluation Tool 7,000+ 143 ★ 344KiB
Meteor DevTools 7,000+ 43 ★ 430KiB
Vue.js devtools (beta) 7,000+ 149 ★ 2.54MiB
DevTools Theme: Zero Dark Matrix 7,000+ 545 ★ 56.82KiB
ng-inspect for AngularJS 7,000+ 87 ★ 585KiB
Accessibility Insights for Web 7,000+ 37 ★ 3.62MiB
User reviews
Zachary Wiles (ID: 00000003802614d5) Voted 4 ★ - Updated 03/04/2023
Rollmops94 (ID: 000000c5ce9b7331) Voted 1 ★ - Updated 01/05/2023
Lumbardh Elshani (ID: 0000009ccb7822bd) Voted 1 ★ - Updated 08/19/2022
Patrick Baumann (ID: 00000009eaa380cb) Voted 1 ★ - Updated 05/12/2022
Sebastian Vittersø (ID: 0000006683447aa2) Voted 5 ★ - Updated 11/02/2021