Copying Text From Website, Attaches Link With Text Copied?
Sorry for the title not really sure how to explain it being that I don't fully understand how it works. I'm not a veteran coder so sorry if I should already know this. When I copy
Solution 1:
Check its body listener, which has a 'oncopy' event listener
document.body.oncopy = function() {
// replace the origin copy text
}
Solution 2:
They are using this JS service: http://www.tynt.com/
It basically catches the selection event and attaches some more (hidden) data to the selection.
Post a Comment for "Copying Text From Website, Attaches Link With Text Copied?"