I copied come text from a The Huffington Post article and found that the web site had somehow snuck a citation onto my clipboard:
The text I had selected. Blah. Blah.
Blah.Read more at:
http://www.huffingtonpost.com/…
How did they do that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The code that does this is in http://www.huffingtonpost.com/include/lib/copy_paste.js?v=1.02
It looks like on mouse-up events they check to see if any text is selected, and if it is then they insert an invisible div containing the citation inside of the selection.