News for hackers. Stuff that matters.
Re:Clipboard Hijacking with HTML5 in Chrome by adam-a on Thursday May 21, 2015 @12:18PM (#9583687)
There are also people doing this by listening to the element.copy event then switching out the selected element. TYNT[0] are the primary culprits (they promise to let you "leverage on site copy and paste activity"). I found out about this a while back and made a demo and a small writeup[1].

This method is totally impossible to spot, works for Ctrl-C as well as right-click copy, and is fairly widely supported.

0 - http://tynt.com/

1 - http://joeba.in/joebain/Javascript%20Copy%20Hijack

Re:Clipboard Hijacking with HTML5 in Chrome by mbrock on Thursday May 21, 2015 @01:57PM (#9584318)
Semi-interesting trivia. Trello lets you copy the URL of a card by just hovering it and hitting Ctrl-C. They do this by intercepting Ctrl to change the current selection to an invisible input field...
Re:Clipboard Hijacking with HTML5 in Chrome by Latty on Friday May 22, 2015 @06:07AM (#9587375)
If you just want to inject things into a copy-paste, you don't even need javascript: http://www.lattyware.co.uk/examples/injecting-text-into-clip...