300x250 AD TOP

Take A Break

Recipes

Contact Form

Name

Email *

Message *

Recent Comments

Alexa Rank

Widgets

Powered by Blogger.

Followers

Popular Posts

Latest Posts

Neighbours

Saturday, 9 March 2013

Tagged under: ,

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

Fix for Copied Text ending with #sthash
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 this problem, I came to the conclusion that this problem is occurring because of the latest integration of the CopynShare addon of ShareThis plugin in 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"
    copyNshare settings

    How does 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 which don't want to use it. They are:
    1. doNotHash: true
    2. doNotCopy: 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.
    • doNotCopy: This variable if 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 if set to false will deactivate the URL copying tracking.
    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 :)

    2 comments:

    1. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.It can be helpful for people who wants to know more about app Modernization services.

      ReplyDelete