Trace copy and paste from your site

3 October 2009 · 3 comments

This Javascript adds an interesting ‘attribution’ function to text copied from your site.

 

Tynt Tracer.

Tynt Tracer.

A colleague on a mailing list noted odd behaviour on a website. She copied a few words from one page and then pasted. Additional text was appended to what she’d copied: it included a link back to the originating site.

There was no sign of this extra text in the original page — even in the HTML source.

When I went exploring for the cause of this odd behaviour I ended up at Tynt Tracer:

Q. What is Tynt Tracer? The short version…

A. Tracer does a couple of interesting things: it tracks user engagement on your site by tracking copy and paste activity and automatically adds a link back to your content when it is pasted somewhere else.

This is pretty clever, and handled by a single line of Javascript.

I copy a selection of text.

I copy a selection of text.

It works like this: I copy a selection of text from the web page, and when I paste that selection is pasted, followed by an attribution, as the screenshots show.

I paste into an editor. The attribution is attached.

I paste into an editor. The attribution is automatically attached.

I imagine disabling Javascript removes that functionality, so it’s not a guaranteed way to always add attributions.

Handy though: as someone who frequently quotes chunks of text from a web page, I generally use my Mars Edit bookmarklet to automatically capture the attribution.

I’d be interested to hear from those more knowledgeable than me what the implications are, if any, of using this script.

I’m trying it out on this site for a while. Give it a go. What do you think?

3 comments

These Posts may interest you too:

  1. Win XP Copy Paste problem I look after a website which runs on a Microsoft server. Since it was “upgraded” I’m forced to use Windows to interact with it in order to edit content. I’m...
  2. The dangers of Copy and Paste Griffin’s Tech Blog at the NZ Herald makes some interesting points today in his article: Covering your digital tracks. I’ve advised clients before now to log out of services they...
  3. From Copy Paste X to Jumpcut and TextExpander It’s been quite a week, full of escaping puppies, poor health and fuzzy brain. But while I haven’t had a lot of success at coherent writing, I have been abe...
  4. Copy and paste formats The other day I was repeatedly copying and pasting formats in a Word document. Today Chris Breen reminds us in An Underutilized Word Tool just how to do it. I...
  5. iPod touch gets smart with Safari bookmarklets There are lots of websites that need passwords: blog logins, banks, forums — the list is endless. On my Mac I use 1Password to manage all my various passwords —...

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

{ 2 comments… read them below or add one }

Mark Harris 03 October 2009 at 13:38 42

Nice. You’re right, it doesn’t work when javascript is off. Can’t think of a downside off the top of my head, though I’d prefer it as a bookmarklet in the browser, rather than the page.

Reply

Miraz 03 October 2009 at 14:45 54

Thanks Mark.

A downside I’ve thought of since writing is that a visitor may be surprised by the added text (as my colleague was) and now suspect my site of harbouring malware.

Reply

Add your Comment

{ 1 trackback }

Previous post:

Next post: