Thursday, 4 June 2015

Disable Copying Content
How to Stop or Disable Copying Content or Text in Website and Blogger?
How to Prevent People from Copying your website content?
This post will help you all to prevent people from copying your website text or content.
Every company or individual invests time and money in writing content for their website.  But now a days it is very easy to copy the text and paste it to our website or blogger.
Don't worry The-Tech-News.com is here you to help for being copied, just follow below steps:

For WEBSITE:
1. Open the web page, Now Press "CTRL + F" and Search for
<head>
2. Paste below code after <head>
<!--Avoid Copying Script starts by www.learnseo.pro -->
<script type="text/javascript">
var omitformtags=[&quot;input&quot;, &quot;textarea&quot;, &quot;select&quot;]
omitformtags=omitformtags.join(&quot;|&quot;)
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!=&quot;undefined&quot;)
document.onselectstart=new Function (&quot;return false&quot;)
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
<!--Copying Script ends by www.learnseo.pro -->
3. Now save the web page and it's done. In website you have to do this to every page you prevent from being copied.

FOR BLOGGER, BLOGSPOT:

1. Go to Dashboard
2. Go to Template the click on Edit HTML
3. Now Press "CTRL + F" and Search for
<head>
4.  Paste below code after <head>
<!--Avoid Copying Script starts by www.learnseo.pro -->
<script type="text/javascript">
var omitformtags=[&quot;input&quot;, &quot;textarea&quot;, &quot;select&quot;]
omitformtags=omitformtags.join(&quot;|&quot;)
function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}
function reEnable(){
return true
}
if (typeof document.onselectstart!=&quot;undefined&quot;)
document.onselectstart=new Function (&quot;return false&quot;)
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
<!--Copying Script ends by www.learnseo.pro -->
5. Now Click on "Save Template" Tab and it's Done.

0 comments:

Post a Comment

 
Rated 4.8 / 5.0 How to Learn SEO 2500+ LearnSEO.pro clients on 3200+ Projects.