Editing clipboard data when copying/pasting from a website
问题 I have seen a few sites now where if you highlight text of an article, copy it, and then paste in they can add more text to it. Try copying and pasting a section of text from an article at http://belfasttelegraph.co.uk/ and you'll see what I mean - they add a link to the original article in the pasted text. How is this done? I'm assuming there is some javascript at work here 回答1: This is a good effect, you can see the scripting that is fired on copy using Firebug (in Firefox). Start up