News for hackers. Stuff that matters.
Re:Pastejacking by arviewer on Tuesday May 24, 2016 @04:10AM (#11759726)
> I just turned this preference off in Firefox, and it didn't stop the demo from working, which makes sense since the preference says it only disables oncopy/cut/paste events, and this demo uses a different method.

How is this method different?

Re:Pastejacking by 4ndr3vv on Tuesday May 24, 2016 @04:30AM (#11759798)
Oncopy is a named javascript event type that triggers when you copy the text of an element.

This method is more sophisticated; it monitors the whole page for copy commands, and has an event listener watching to see when this 'copy' command is executed.