How to restrict visitors to view your Website Page Source?

How to protect website and Blog’s source code by disabling Ctrl+U and right Click?

0
data:blog.title
protect blog

Protecting website’s design, content, graphics are really tough job. Because you are not aware who is copying your content, design etc. But I think this is a serious cyber crime. You will understand if I explain you a real time example.

BloggerSpice site’s total page view per day was over 25k. Even last October 2015 I have received 39k page view in one. This was really amazing. I was so happy and I thought my Blog is now in stable position. But from the beginning of November 2015 my page view dramatically dropped to 15k. I was shocked. And can’t find the reason behind this. As a result, I have started producing more content daily. But still page views are same.

Yesterday I have discovered that my contents are being copied by several sites. Even I have given warning and complain to Google. But all steps are not working. Finally Today I have disabled right click, disable text selection option and finally disable Ctrl+U feature thus content thief can’t see my source code and copy my content.

Interestingly when I publish content some thief within 10 minutes published again on their site. As a result search engine detecting my content as duplicate. Lost higher rank on search engines decreased my visitors and also decreased my AdSense income. And eventually content thieves ruin my Blog completely.

However I didn’t frustrated and broke up. I have applied some trick which will help to stand against content theft within shortest period of time. For protecting your Blog content, design and source code you must apply few things that will help your blog to grow steadily. I am explain the task below-

Disable text selection

This is first thing you must do. Because if you can disable text selection then content thieves won’t able to select any text from your Blog. As a result they can’t copy your Blog content. For tutorial please visit the below recommended URL.

Disable Right Click

This is possible to copy your content by viewing your page source code. And thieves are doing it easily by right click to view page source. So you must disable right click for protecting your page source. I have already published the tutorial about this. Please follow it by visiting below URL.

Disable Ctrl+U by JavaScript

If you just disable right click then it is possible to view page source by pressing Ctrl+U button from keyboard. And thief will easily get access to your page source. So the solution is disabling Ctrl+U action from your browser. Now the question is how to do it? Don’t worry I am showing you the trick. This is actually a JavaScript.

Step 1 Go to your Blogger Account and Login to your Blogger Account.

Step 2 Click on ->Template ->Edit HTML

Step 3 And locate </head> by pressing Ctrl+F (Windows) or CMD+F (Mac)

Step 4 And copy the below script and paste it above </head>

<script type="text/javascript">
document.onkeydown = function (cc) {
if(cc.which == 85){
return false;
}
}
</script>

Step 5 Finally hit the Save template button.

Now check your site and use Ctrl+U from keyboard, and see this is not working.

Remove RSS Feed URL

You have done everything. But If won’t don’t remove your RSS Feed then thieves will visit your RSS feed and copy the content from there. So remove RSS feed URL from your Blog thus thief can’t visit your feed to get the content.

That’s all about protecting your Blog from content thief. But there are some technique that content thief can get your content. But I am not sharing this, because this is think illegal thing again and again. If you see still your content is being copied then there maybe different reason. Possible reason could be content thief is printing your content first and after that typing it. In this case you can disable print option from your Blog. However you can use a simple piece of JavaScript to your Blogger template.

Step 1 Go to your Blogger Account and Login to your Blogger Account.

Step 2 Click on ->Template ->Edit HTML

Step 3 And locate </head> by pressing Ctrl+F (Windows) or CMD+F (Mac)

Step 4 And copy the below script and paste it above </head>

<script type="text/javascript">
document.onkeydown = function (cc) {
if(cc.which == 85){
return false;
}
if(cc.which == 80){
return false;
}
}
</script>

Step 5 Finally hit the Save template button.

That’s it. Now printing option has disabled on your Blog or website. I hope this tutorial will help you to protect your Blog and Website’s content, source code etc. And I have another suggestion is to submit content to Google and Bing search engine immediately after publishing it. As a result search engine count your URL as unique.

In conclusion, morality is the main thing for blogging. Many thieves may get good traffic and earning money by blogging within shortest period of time. But those who want to do blogging for longer time with reputation then they shouldn’t copy other’s content. 
How to restrict visitors to view your Website Page Source?
4 Stars stars - "How to restrict visitors to view your Website Page Source?" Protecting website’s design, content, graphics are really tough job. Because you are not aware...
Facebook Group Community Disqus Channel Code ConverterHide Code Converter Show EmoticonHide Emoticon

Got questions? Ask ’em below! While we’re here, you might like to give any feedback about this Post, Your comment inspire us to continuous Improvement of This Blog and Contents. Your words are your own, so be nice and helpful if you can. Please, only use your REAL NAME, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form

Name

Email *

Message *