File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1111 "release" : " node scripts/push-release.js"
1212 },
1313 "name" : " disable-devtool" ,
14- "version" : " 0.3.4 " ,
14+ "version" : " 0.3.5 " ,
1515 "description" : " Disable web developer tools from the f12 button, right-click and browser " ,
1616 "main" : " disable-devtool.min.js" ,
1717 "unpkg" : " disable-devtool.min.js" ,
Original file line number Diff line number Diff line change @@ -30,8 +30,7 @@ export abstract class Detector {
3030 }
3131
3232 onDevToolOpen ( ) {
33- console . warn ( `You ar not allow to use DEVTOOL! 【type = ${ this . type } 】` ) ;
34- // alert(`You ar not allow to use DEVTOOL! 【type = ${type}】`);
33+ console . warn ( `You don't have permission to use DEVTOOL!【type = ${ this . type } 】` ) ;
3534 if ( config . clearIntervalWhenDevOpenTrigger ) {
3635 clearDDInterval ( ) ;
3736 }
You can’t perform that action at this time.
0 commit comments