theajack / disable-devtool

Disable web developer tools from the f12 button, right-click and browser menu

Home Page:https://theajack.github.io/disable-devtool/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

displaying warning with message "You are not allow to use DEVTOOL! 【type = 6】"

mohsinaliryk opened this issue · comments

How to disable the console.warn message "You ar not allow to use DEVTOOL! 【type = 6】" which is logged when devtools is opened.

There is no way to disable this warn message, why you need to do this? Could you please paste you code?
@mohsinaliryk

commented

Several reasons why this needs to be done:

  1. Typos. The correct message should be "You are not allowed...." (missing "e" from are, and "allowed" instead of allow).
  2. Customization of the message.
  3. Translation
commented

Also, this commit, is NOT reflected to current npm version (0.3.4) which I think is what happens here.

I don't like this message either and want a way to disable and/or customize it.