TechNdo - Blogger tips, tricks, tutorials and widgets

Latest News

Tuesday 30 April 2013

Copied Text ending with #sthash in Blogger - Fix




removing copynshareJust recently many readers complained that copying text from BlogSpot and wordpress blogs is resulting with some text ending with a "- See more at:" string followed by the URL of the page or A unique #hashtag is appended to your URL. The same problem was present with our blogs too. Many readers complained that the tutorials are no more working. This problem is occurring due to the latest integration of CopynShare addon of ShareThis plugin in Blogger blogs. If you are using any widget powered by sharethis or using our Floating Share bar then you must be experiencing the same problem. Follow this simple tutorial to disable or uninstall the CopyNshare widget from your wordpress or blogger blog.






 

What is CopyNshare?

Just like Tynt Publisher tool that tracks social activity on your site, ShareThis team introduced CopyNShare widget using which you can track all the sharing that occurs when a user copies and pastes your website’s URL or content. Blogspot domains copied were ending with #sthash and some random extension like dpbs or dpuf.
  • Read: Add Attribution or credit links to content copied from your blog

Uninstall CopyNShare in Blogger

In order to keep using ShareThis sharing counters but deactivate the tracking feature then you must follow these 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:
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 will not see a - see more text added to content copied from your blog.

Disable CopyNShare in Wordpress

In wordpress the steps are much easier.
  1. Go To Plugins > ShareThis
  2. Simply uncheck the option that says "Enable CopyNShare Beta"
copyNshare settings
For more details on enabling or disabling extra features linked with ShareThis plugin please read: Installing Sharethis on Wordpress

How this works?

In the above script for ShareThis light options I simply inserted some variables which are:
  1. doNotHash: true
  2. doNotCopy: true
  3. hashAddressBar: false
  • doNotHash: This variable is set to true so that no attribution link is added to content copied from your blog. If in case in future you would like the tracking feature to work again then simply set it to false.
  • doNotCopy: Disables the pasting of "See more: yourURL.com#SThashtag" after a user copies-and-pastes text
  • hashAddressBar: This will deactivate the tracking of URL copying.
As simple as that. Let me know if you needed more help. Apologies for the inconvenience caused to all our readers who were finding it difficult to apply our scripts due to this uninvited feature. I am extremely busy these days but I had to publish a fix to this bug in order to make things more comfortable. Peace and blessings buddies :)
Note: I have updated the Floating bar widget and all plugins that needed an update.



  • Blogger Comments
  • Facebook Comments

0 blogger-facebook:

Post a Comment

Item Reviewed: Copied Text ending with #sthash in Blogger - Fix Description: Rating: 5 Reviewed By: Ajay
Scroll to Top