Jan 4, 2011
Add Copyright Notice on WordPress Copied Text
Add code blow into your header.php
<script type="text/javascript">
function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
selection = window.getSelection();
var pagelink = " Add your Copyright text here!";
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>
From now on everyone that try to copy your content and paste the content on text editor new copyright notices will be follow
Maintained by BPOVIA Web Design Team





Recent Comments