<./>.dev./hood

https://github.com/AEPKILL/devtools-detector?fbclid=IwAR0_d87-f3CLZMzNt62qmJ0T657yEGWICIpO3uQ-tSBgVEzT6yKaDAcM3S8

 

GitHub - AEPKILL/devtools-detector: Detect if DevTools is open

Detect if DevTools is open. Contribute to AEPKILL/devtools-detector development by creating an account on GitHub.

github.com

 

&&

 

 
<script>
(function(){
var _z = console;
Object.defineProperty( window, "console", {
get : function(){
if( _z._commandLineAPI ){
throw "Sorry, Can't execute scripts!";
}
return _z;
},
set : function(val){
_z = val;
}
});
window.console.log = function(){
console.error('Sorry , developers tools are blocked here....');
window.console.log = function() {
return false;
}
}
})();
try
{
// Check if it's open
console.log('Is DevTools open:', window.devtools.isOpen);
// Get notified when it's opened/closed or orientation changes
window.addEventListener('devtoolschange', event => {
var log = String(event.detail.isOpen);
console.log('Is DevTools open:B', log);
if(log == '') {
} else if(log == 'true') {
}
});
var log = String(window.devtools.isOpen);
if(log == '') {
} else if(log == 'true') {
console.log('Is DevTools open:A', log);
}
}
catch (e)
{
}
</script>​
```
이런게 있더라고요
하지만 개발자모드를 창모드로 열면 소용 없더라요

 

 

출처 -

https://www.facebook.com/story.php/?id=174499879257223&story_fbid=24185205297760012&paipv=0&eav=AfYHptf2wpyB1VXXRqRFjFEspKMg4IfP5TEjZx0mi7k7lwJPwS3BRtmXzSe8uc_hPns&_rdr