0.1.1 • Published 7 years ago

jdetects v0.1.1

Weekly downloads
50
License
MIT
Repository
github
Last release
7 years ago

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;
	}
});
0.1.1

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

8 years ago

0.0.1

10 years ago