Devtools Status Detector icon

Devtools Status Detector

Extension Delisted

This extension is no longer available in the official store. Delisted on 2025-09-16.

Extension Actions

CRX ID
pmbbjdhohceladenbdjjoejcanjijoaa
Status
  • Minor Policy Violation
  • Removed Long Ago
  • No Privacy Policy
Description from extension meta

Allows Javascript Developers to know when Chrome Devtools is open/closed.

Description from store

This extension helps Javascript developers detect when Chrome Devtools is open or closed on current page.

When Chrome Devtools closes/opens, the extension will raise a event named 'devtoolsStatusChanged' on window.document element.

This is example code:

function addEventListener(el, eventName, handler) {
if (el.addEventListener) {
el.addEventListener(eventName, handler);
} else {
el.attachEvent('on' + eventName,
function() {
handler.call(el);
});
}
}

// Add an event listener.
addEventListener(document, 'devtoolsStatusChanged', function(e) {
if (e.detail === 'OPENED') {
// Your code when Devtools opens
} else {
// Your code when Devtools Closed
}
});

Please leave a comment if you have questions or ideas.