How to Disable Inspect Element Function on Blogger Website

How to Disable Inspect Element on Blog - In this post I will share the process by which you can restrict Inspect Element on blog. But for those of you who don't know what Inspect Element is then I'll give a brief detail about it below.

What is the Inspect Element Function in Blogs?

Inspect Element is a very useful feature that is available on the desktop version of any browser. This feature lets visitors know the site code and even edits and manipulates them from the source.

This tool is often used by web designers to find out the CSS and/or HTML code on other blog sites that may prove useful to them.

If you don't want the blog theme code to be known by others, you can prevent that from happening by turning off the Javascript debugger which will make the blog template more secure than some code that is directly copied.

How to Disable Inspect Element on Blog?

Carefully follow the below steps to disable Element Inspection on Blog:

1. Go to Blogger Dashboard, Select Themes . Click the Edit HTML button and put the code below before the code </body>

 <script type='text/javascript'>
//<![CDATA[
// Inspect
!function tundefined){try{!function tundefinedn){1===undefined""+n/n).length&&0!==n||functionundefined){}.constructorundefined"debugger")undefined),tundefined++n)}undefined0)}catchundefinedn){setTimeoutundefinedt,5e3)}}undefined);
//]]>
</script>

2. Click the Save Theme /Template button. Done .

Check the results by trying to check your blog elements yourself

However this is not a 100% efficient method as people might try to disable JavaScript d. I have a method for another that I installed below.

I hope this post resolved the issue you were having regarding Disabling Inspect Element on Blog , Plus I also added Anti-JavaScipt disabler and Anti-Right Click for added protection.

So for this post, hopefully it will be useful, thank you, if you are still confused, ask directly in the comments, thank you.

MrHasan is a website where you can find html, css, js, seo, adsense, premium blogger templates, blogger tips and tricks, blogger widgets & many more.

Post a Comment