It's always a good idea to protect blog content from copy and paste bloggers, and this make us to write on how to disable highlight function and how to disable right click context menu on images. But i think i need to provide something more outstanding, so 1 will be sharing with you, how you can add copyright notice to copied text of your blog. But it only works with all major browser except internet explorer.
This is how it works. When someone copied your blog content and paste it any anywhere, the script will add a link back to your site as the original source with a copyright notice. Sounds cool, right?
If you are on Wordpress you can use iCopyright or add the following code into your blog head section. But for blogger follow the below steps.
How to Add Copyright Notice to Copied Text
- Go to your blogger dashboard
- Click on Template > Edit HTML > Proceed (Mark/Tick Expand Widget Template)
- Use ctrl F to find </head> and paste the following code above it.
<!-- Copyright Notice By RealcomBiz.com -->
<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 © RealcomBiz"; // You can change this to your prefered text
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>
<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 © RealcomBiz"; // You can change this to your prefered text
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>
- You can change the above highlighted line to your own preferred copyright text.
- Save your template. Done!
Subscribe For Free Updates!
*Please confirm the email sent to your inbox after clicking "Sign Up!".
nice feature. thanks
ReplyDeleteEveryone knows that you can order your resume online, but have you heard of resume review services that can help you to make the right decision among dozens of writers presented in the Internet?
ReplyDeletehappy new year 2017 whatsapp status
ReplyDeleteThis is an awesome post. Really very informative and creative contents. These concept is a good way to enhance the knowledge. Excellent post.
ReplyDeleteOur Digital Marketing Training is tailored for beginners who want to learn how to stand out digitally, whether it is for their own business or a personal brand.
Digital Marketing Training in Chennai
Digital Marketing Course in Chennai
Digital Marketing Courses in Chennai
SEO Training in Chennai
What is Digital Marketing
Digital Marketing
SEO Services in India
ReplyDeleteap 10th 2017 results
michael kors outlet clearance
ReplyDeletepolo ralph lauren
polo ralph lauren outlet online
lacoste polo shirts
michael kors outlet store
pandora outlet
cheap mbt shoes
michael kors outlet
mbt shoes
coach outlet online
huangxiang20170509