How to block F12 key with jQuery

In this post, I will show you how to disable the F12 Key option using a simple JQuery code. I hope you will like it.

First of all we need to reference jQuery:

<script src=""></script>

Whenever a user presses the F12 it blocks the Inspect Element screen on the entire document.

Below is my jQuery code

        return false;
    else if (event.ctrlKey && event.shiftKey && event.keyCode==73){        
             return false;


You can also read this

Simple REST API with ExpressJS

Express is a minimal and flexible Node.js web application framework...

app.use(bodyParser.urlencoded({ extended: true }));

Responsive CSS counter without Javascript

CSS counters let you adjust the appearance of content based on...

@media (max-width: 319px) {
    .small-card__item:nth-child(1)~.small-card__item {
        counter-increment: item-count;