In one of my previous post, I made a tutorial on How To Disable Copy and Paste in Blogger Blog which is, how to disable the Ctrl + C & Ctrl + V functions in a Blogger Blog. Today I am sharing with you this tutorial on How To Disable Ctrl + U & Fn + F12 Key in Blogger. The Ctrl + U function enables one to view the Source Code of your site, this simply means when your source code is being viewed your contents or any other thing related to your site can be accessed or copied, While the Fn + F12 function allows one to Open Firebug or browser debug tool. By accessing this, one can Edit and view the web page properties with Firebug.
- Quickly view the HTML and CSS source of any element.
- Modify HTML or CSS elements within Firebug and see immediate results.
- Analyze the page speed load time.
- View overview of all elements on a page.
This tutorial will show you on how to How To Disable Ctrl + U & Fn + F12 Key in Blogger.

The Pros and Cons on How To Disable Ctrl + U & F12 Key in Blogger Blog
Pros:[*] This will disable the F12 function and protect your blog's source code from being viewed in thus, protecting the contents of your blog from copycats.
[*] This works perfectly without disabling the right function on your site.
Cons:
[*] This works on every web browser but does not work when "Do not allow any site to run JavaScript" is enabled in Google Chrome browser.
Steps on How To Disable Ctrl + U & F12 Key in Blogger
Step 1: Go to Blogger Account >> Blogger Dashboard.Step 2: Select Layout Tab.

Step 3: After Selecting, Layout Tab will Open >> Click on "Add a Gadget".



<script>
/*function check(e)
{
alert(e.keyCode);
}*/
document.onkeydown = function(e) {
if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 117)) {//Alt+c, Alt+v will also be disabled sadly.
}
return false;
};
</script>
Step 6: Now Save the Open Window and Reload your Web Tab - You are Done!
