How To Install Script Code When In Copy Paste


Good night all. We will make a posting articles on the subject how to post the article when in copy and paste any link sources automatically. With this we will give you tips and tricks. But blogger friends are still not aware of any behavior that does not want to us all, until now still do a lot of copy and paste articles without giving the source link that writing the original article.

Let us now together awaken the urge to do copy paste of the article to others. Let us work, write it yourself and use your common sense. All humans have the ability. If you are still committing a copy paste of the article to others. So when the Smart People.


Let us go in to a discussion on How to Install Script Code When In Copy Paste:

Step - Step is:


1. Blogger Login With Your Google Account
2. If you have the dashboard go to Design » Edit HTML
3. Insert the following script below <head> code:


<script type='text/javascript'>
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = "<br/><br/> Read more at: <a href='"+document.location.href+"'>"+document.location.href+"</a><br/>Copyright instingblogs.blogspot.com Under Common Share Alike Atribution"; // 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>



4. Do not forget to change the URL instingblogs.blogspot.com the script with your blog url.
5. After that save the template.
6. Completed.

Post a Comment