Copied Text ending with #sthash in Blogger or WordPress – Fix

I know I am a little late for this post but due to exams, it has been difficult to update you guys. Recently many of my friends and readers were complaining that copying text from many Blogger and WordPress blogs was resulting some text ending “- See more at:” string followed by a unique #hashtag appended to the URL of the page. I found the same problem in this blog. Many readers were complaining that the tutorials were no longer working. After inquiring about this problem, I came to the conclusion that this problem is occurring because of the latest integration of the CopynShare addon of the ShareThis plugin on its website. So this has affected any Blogger who might be using any widget powered by ShareThis. Even if you are using our Floating Share bar, then you must also be experiencing the same problem. Just follow this simple tutorial to uninstall the CopyNshare widget from your WordPress or blogger blog.

What is CopyNshare?

Just like Tynt Tool that tracks all the social activity that occurs when visitors are on your site, ShareThis team invented a new widget CopyNShare using which you can track each and every piece of text that users copy from your website URL or content. Blogger domains copied were ending with #sthash and some random extension like dpuf or dpbs

Note: I have updated the Floating bar widget and all plugins that needed an update.

Uninstall CopyNShare in Blogger

In order to keep using ShareThis sharing counters but deactivate the tracking feature then you must follow these extremely easy steps:

  1. Go To Blogger > Template
  2. Backup your template
  3. Tick the box “Expand widgets templates
  4. Search for the following similar code:
<script type='text/javascript'>stLight.options({publisher: 
"xxxxxxxxxxx-xx-xxxx"});</script>

or simply find this little piece of code:

stLight.options

Now replace this entire script with the following code:

<script type='text/javascript'>stLight.options({onhover:false , 
doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>

5.  Save your template and you are all done!

Now your readers can easily copy content from your blog.

Uninstall CopyNShare in WordPress

In WordPress, the steps are much easier as compared to blogger

  1. Go To Plugins > ShareThis
  2. Simply uncheck the option that says “Enable CopyNShare Beta

 

How do this works?

In the above script for ShareThis light options, what I did was simply insert some variables told by ShareThis itself to stop this widget in sites that don’t want to use it. They are:

  1. doNotHash: true
  2. don’t copy: true
  3. hashAddressBar: false
  • doNotHash: I have set this variable to true so that no attribution link would be added to the text copied from your blog.
  • don’t copy: This variable is set to true disables the pasting of the See more #hash tag “See more: yourURL.com#SThashtag” when a user copies and then pastes text anywhere.
  • hashAddressBar: This variable is set to false will deactivate the URL copying tracks.
This is as simple as that. If you need more help then don’t hesitate to let me know. Apologies for the inconvenience caused to all our readers. Guys, I am extremely busy these days but I had to publish a fix to this uninvited feature in order to make things more comfortable for you people. Peace and blessings pals 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *