js监听控制台是否打开
!function() {
var x = document.createElement('div');
Object.defineProperty(x, 'id', {
get: function(){
alert('控制台打开');
}
});
console.info(x);
}();
2020-7-25 Jon js+jquery+ajax
!function() {
var x = document.createElement('div');
Object.defineProperty(x, 'id', {
get: function(){
alert('控制台打开');
}
});
console.info(x);
}();
2024-09-03 15:28
2024-09-03 15:28
发表评论: