Introduction:
By clicking F12 in the browser we can open the Console log and
development tool of a web site running in the browser. As a developer while you
are developing its OK for you, but when others are trying to see your application code and do some operations
definitely we don't want to disclose this. So what is the solution? we can easily prevent this using
some simple JavaScript and jQuery scripts. Let’s see how.
Description:
To stop this we can do two things. One, while users are opening
the console log he or she will be prompted with some message or user will not
be accessing the F12 key with mouse right click options. We will discuss both
the ways one by one.