【文件属性】:
文件名称:jdetects:检测DevTools是否打开
文件大小:7KB
文件格式:ZIP
更新时间:2021-02-01 05:34:29
console chrome monitor ChromeJavaScript
jdetects(^^)
检测DevTools是否打开
例子
基础
jdetects . create ( function ( status ) {
document . querySelector ( "#devtool-status" ) . innerHTML = status ;
} ) ;
一旦变更
jdetects . create ( {
once : true ,
label : "zswang" ,
onchange : function ( status ) {
document . querySelector ( "#devtool-status" ) . innerHTML = status ;
}
} ) ;
【文件预览】:
jdetects-master
----.jshintrc(21B)
----.gitignore(598B)
----package.json(780B)
----src()
--------jdetects.js(3KB)
----.bowerrc(40B)
----.travis.yml(86B)
----examples()
--------once.html(393B)
--------base.html(332B)
----README.md(740B)
----jdetects.min.js(891B)
----jdetects.js(3KB)
----bower.json(556B)
----.editorconfig(342B)