SUBSCRIBE OUR YOUTUBE CHANNEL 👉
Join in Google News
If You Want Adsense Approval for your blog Contact Us Adsense Ready theme Now!

How to make the website unable to be inspected

Hi Web Developers! back again with the tech teacher. this time the tech teacher will share a tutorial on how to prevent a website or blogger from being inspected element / inspector element. For masters, masters and the like, please correct if something is not quite right, but I don't think there is and for newbies who need enlightenment, please follow and practice on their respective computers.

OK, let's continue with the tutorial, before you've come across a website that you want to take a peek at the code for, or want to know what code the owner of the web is using, but when you inspect it, the debugger can't even appear, it's annoying. Just go straight to the tutorial.

First

Add the following JavaScript code above the closing body </body>

<script>
        !function t() { try { !function t(n) { 1 === ("" + n / n).length && 0 !== n || function () { }.constructor("debugger")(), t(++n) }(0) } catch (n) { setTimeout(t, 5e3) } }();
</script>

Try this code in you editor to see the result by yourself.

Read AlsoHow to prevent a website or blogger from being inspected by the Inspect Element
Ways to Prevent Websites or Bloggers from CTRL+U and Right Click
How to make the blog display a warning when JavaScript is turned off in the browser 

So Hopefully it's useful, thank you.

Post a Comment