Home

Awesome

jdetects(^^)

Build Status NPM version

Detect if DevTools is open

Find out whether Chrome console is open

Examples

Base

http://jsbin.com/cecuzeb/5/edit?output

jdetects.create(function(status) {
	document.querySelector("#devtool-status").innerHTML = status;
});

Once onChange

https://jsbin.com/hemipip/edit?js,output

jdetects.create({
	once: true,
	label: "zswang",
	onchange: function(status) {
		document.querySelector("#devtool-status").innerHTML = status;
	}
});