{"id":16832628,"url":"https://github.com/zswang/jdetects","last_synced_at":"2025-06-20T17:06:07.689Z","repository":{"id":33213161,"uuid":"36856033","full_name":"zswang/jdetects","owner":"zswang","description":"Detect if DevTools is open","archived":false,"fork":false,"pushed_at":"2018-03-16T16:30:54.000Z","size":12,"stargazers_count":141,"open_issues_count":3,"forks_count":24,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-10T22:06:08.966Z","etag":null,"topics":["chrome","console","monitor"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zswang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-04T07:47:22.000Z","updated_at":"2025-03-10T22:59:51.000Z","dependencies_parsed_at":"2022-07-09T11:30:45.123Z","dependency_job_id":null,"html_url":"https://github.com/zswang/jdetects","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zswang/jdetects","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjdetects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjdetects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjdetects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjdetects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/jdetects/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjdetects/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260985029,"owners_count":23092878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome","console","monitor"],"created_at":"2024-10-13T11:49:47.654Z","updated_at":"2025-06-20T17:06:02.664Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jdetects(^^)\n\n[![Build Status](https://img.shields.io/travis/zswang/jdetects/master.svg)](https://travis-ci.org/zswang/jdetects)\n[![NPM version](https://img.shields.io/npm/v/jdetects.svg)](http://badge.fury.io/js/jdetects)\n\nDetect if DevTools is open\n\n[Find out whether Chrome console is open](https://stackoverflow.com/a/30638226/1068602)\n\n## Examples\n\n### Base\n\nhttp://jsbin.com/cecuzeb/5/edit?output\n\n```js\njdetects.create(function(status) {\n\tdocument.querySelector(\"#devtool-status\").innerHTML = status;\n});\n```\n\n### Once onChange\n\nhttps://jsbin.com/hemipip/edit?js,output\n\n```js\njdetects.create({\n\tonce: true,\n\tlabel: \"zswang\",\n\tonchange: function(status) {\n\t\tdocument.querySelector(\"#devtool-status\").innerHTML = status;\n\t}\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjdetects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Fjdetects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjdetects/lists"}