Refresh

This website oscarliang.com/avoid-people-steal-blog-content/ is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

How To Avoid People Steal Your Blog Content?

by Oscar

I found people stealing my content the other day without refering back to my blog, so i was looking for a way to force content origin information added the content when copy and paste.

Some of the links on this page are affiliate links. I receive a commission (at no extra cost to you) if you make a purchase after clicking on one of these affiliate links. This helps support the free content for the community on this website. Please read our Affiliate Link Policy for more information.

Add the following snippet to end of your “single.php” file, and it will generate “Original: [your blog name] URL:[your post url]” to the content they copy. It won’t make them stop stealing your content, but it will certainly make it a bit more annoying for them.

This will not be visible on the web page at all.

<script type="text/javascript"> document.body.oncopy=function(){ event.returnValue=false; var t=document.selection.createRange().text; var s="Original Post From <?php bloginfo('name'); ?> , URL: <?php the_permalink() ?> "; clipboardData.setData('Text','rn'+t+'rn'+s+'rn'); } </script>

Leave a Comment

By using this form, you agree with the storage and handling of your data by this website. Note that all comments are held for moderation before appearing.