How does Financial Times add a disclaimer when pasting text?

javascript, usability, user-experience, user-interface

Solution

Webmaster use Javascript for that.

Check file http://media.ft.com/j/FTTrack2.js

FT.Tynt={
    initTynt:function(){
        var Tynt=Tynt||[];
        Tynt.push('cqolxGrS4r34rIadbiUt4I');
        Tynt.i={
            "cc":"0",
            "b":true,
            "ap":"Please respect FT.com's <a href='http://www.ft.com/servicestools/help/terms'>ts&amp;cs</a> and <a href='http://www.ft.com/servicestools/help/copyright'>copyright policy</a> which allow you to: share links; copy content for personal use; &amp; redistribute limited extracts. Email ftsales.support@ft.com to buy additional rights or use this link to reference the article -",
            "t":true
        }

Problem

Here is an example of what happens when pasting text from Financial Times, the top paragraph is added. Thanks in advance! Example: Please respect FT.com's ts&cs and copyright policy which allow you to: share links; copy content for >personal use; & redistribute limited extracts. Email ftsales.support@ft.com to buy additional rights >or use this link to reference the article - http://www.ft.com/cms/s/0/792f1aec->9600-11e0-8256-00144feab49a.html#ixzz1PFrYZiD0 Goldman Sachs gave a paid internship to a top Libyan official’s relative while the bank was carrying >out lossmaking trades on behalf of the country’s sovereign wealth fund, the Financial Times has learnt.

Original source

Related problems