Devtools Status Detector
Allows Javascript Developers to know when Chrome Devtools is open/closed.
Что такое Devtools Status Detector?
Devtools Status Detector - это расширение Chrome, разработанное VO THAI SON, и его основная функция - "Allows Javascript Developers to know when Chrome Devtools is open/closed.".
Скачать файл CRX расширения Devtools Status Detector
Скачайте файлы расширений Devtools Status Detector в формате crx, установите расширения Chrome вручную в браузере или поделитесь файлами crx с друзьями, чтобы легко установить расширения Chrome.
Инструкции по использованию расширения
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. Основная информация о расширении
| Название | |
| ID | pmbbjdhohceladenbdjjoejcanjijoaa |
| Официальный URL | https://chromewebstore.google.com/detail/devtools-status-detector/pmbbjdhohceladenbdjjoejcanjijoaa |
| Описание | Allows Javascript Developers to know when Chrome Devtools is open/closed. |
| Размер файла | 17.31 KB |
| Количество установок | 29 |
| Текущая Версия | 0.0.2 |
| Последнее Обновление | 2017-08-22 |
| Дата публикации | 2017-08-22 |
| Рейтинг | 5.00/5 Всего 1 оценок |
| Разработчик | VO THAI SON |
| Электронная почта | [email protected] |
| Тип оплаты | free |
| Поддерживаемые языки | en |
| manifest.json | |
{
"update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
"name": "Devtools Status Detector",
"version": "0.0.2",
"description": "Allows Javascript Developers to know when Chrome Devtools is open\/closed. ",
"devtools_page": "devtools.html",
"manifest_version": 2,
"permissions": [
"tabs",
" | |