0:00
What's up everyone, welcome to KeyTube blogging and in this video I will show you how you
0:04
can disable right click on your website. So to disable right click is very simple, you just need a small code snippet like this
0:14
in your HTML tag. So just copy the code snippet, I will leave the link in the description
0:24
And then if you want to implement in WordPress then you can just go to the appearance and
0:29
click on the theme file editor and here you will see an option called header.php
0:36
So let me just click on here header.php and here you will see the option HTML and under
0:44
that you will see this option head. So we need to paste that code in the HTML tag
0:49
So just paste the code like this in the HTML tag. So make sure to take a backup first if you are changing in the theme code otherwise you
0:59
may break your website. So I have added the code just after the HTML tag like this
1:06
So let me just update this file. Now let me just go to the front end and when I click on the right click it will not happen
1:19
and it will block the right click in our website. And if you want to do the same in blogger then just go to the blogger dashboard, go
1:28
to the theme section and here you need to click on the edit HTML first and then here
1:33
you will see this option HTML tag. So just add the code after the HTML and let me just save the code
1:42
Now let's go back and let's view the blog and let me just try to right click on this
1:50
website and as you can see the right click is now blocked in this website
1:55
So you can easily add a small code snippet in your HTML tag and block right click on
2:01
your website. And if you want to disable tag selection on the website then you can do that just by adding
2:08
a small CSS code to your website. So I have already done a video on how to do that
2:15
So if you are using WordPress then you can watch this video and if you are using blogger
2:20
then you can watch this video. So in this way you can disable tag selection on your website so that people will not be
2:27
able to copy it directly and if you want to just block right click then you can just add
2:34
this small code snippet to your HTML tag. So I hope this small tutorial will help you prevent your website from copy paste and prevent
2:47
stealing your content. I know that this is not a foolproof method to protect the content but you can at least
2:54
save the content from a noob or you can say beginners who don't know how to inspect the
3:03
element and how to copy that text but if you want to protect or if you want to add an extra
3:09
layer of security then you can implement the right click block in your website
3:15
So if you found this video helpful then make sure to hit the like button and do subscribe
3:19
to K2tube blogging. Thank you