Saturday 18 August 2012

Disabling Copy and Select Function in Blogger

Writing articles and posting them sure takes a lot of time. Writing doesn't just involve typing, but collecting resources from different sources to get a neat and complete post.However copying and pasting it on different site takes a couple of minutes. An incident like this happens to be like a blow to the face of the writer.So in order to protect content from getting rewritten anywhere in any other form then the function for selecting and copying must be disabled. So here is the tutorial on disabling them.

Tutorial -


1. Go to the blogger.com.

2. Select Template

3. Select Edit HTML

4. Now find <body>

5. Now replace <body> with

<body oncontextmenu='return false;' onmousedown='return false;' onselectstart='return false;'>

6. Now save your Template and you are done.

If you have <body expr:class='&quot;loading&quot; + data:blog.mobileClass'> 


instead of 

<body>

then replace it with this - 

 <body expr:class='&quot;loading&quot; + data:blog.mobileClass' oncontextmenu='return false;' onmousedown='return false;' onselectstart='return false;'>




0 comments:

Post a Comment