When I copy a section of test from this website
my clipboard gets extra text appended to the end of it saying “Read more: ” then the url of the page I was reading (plus a unique looking string on the end)
How have they done this?
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.
I’ve made some reverse engineering and it looks like this script is responsible for clipboard manipulation:
http://tcr.tynt.com/ti.js (use http://jsbeautifier.org/ to see uncompressed code)
See the introduction movie on this website:
http://www.tynt.com/
Technically I don’t know how is it done, looks like they don’t use Flash but make use of getSelection() function and copy, contextmenu events.