In this post we going to show you, how to show copyright when someone hack your article. This mean by when someone copy paste your blog article, then it will automatically show copyright and link source of that article. So you can prevent those who are copying your article. Some idiots are simply copy paste on their blog even they are not reading article, also hacker will be irritating to copy paste your blog article. This trick work only on blogger.
How To Add This Trick To Your Blog?
How To Add This Trick To Your Blog?
1. Log in to your blogger dashboard by clicking here.
2. Go to Design > Edit HTML.
3. Copy the below code and paste before </head>.
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Original from: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright EXEIdeas - All Rights Reserved"; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}document.oncopy = addLink;
</script>
2. Go to Design > Edit HTML.
3. Copy the below code and paste before </head>.
<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Original from: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright EXEIdeas - All Rights Reserved"; // change this if you want
var copytext = selection + pagelink;
var newdiv = document.createElement('div');
newdiv.style.position='absolute';
newdiv.style.left='-99999px';
body_element.appendChild(newdiv);
newdiv.innerHTML = copytext;
selection.selectAllChildren(newdiv);
window.setTimeout(function() {
body_element.removeChild(newdiv);
},0);
}document.oncopy = addLink;
</script>
Change The Words According To You
Original from:
Copyright EXEIdeas - All Rights Reserved
Now When Anybody Copy The Article From Your Site And Past It Where He Want, An Extra Line Will Be Included Like This
Original from: http://exeideas.blogspot.com/#########################.html
© 2010-2011 EXEIdeas - All Rights Reserved
No comments:
Post a Comment