Created attachment 255609 [details]
Chrome 43 decides that allowing the website to pollute your clipboard inside _any_ DOM event handler is no longer a concern.
Can WebKit consider allowing the same?
Test case attached.
Letting webpages _write_ into the clibpard while the user is interactiving with the page seems okay.
Yes, writing only.
Looks like this will be implemented in Firefox 41 too. https://bugzilla.mozilla.org/show_bug.cgi?id=1012662
FWIW, the Chrome issue is here: https://code.google.com/p/chromium/issues/detail?id=424968
This would allow Github.com to stop using Flash on WebKit:
There is certainly no shortage of websites that are using Flash for this purpose, github possibly not even being the most prominent.
Personally, I'm not looking forward to a world in which advertisers put their content on my pasteboard each time a click a webpage.
Created attachment 273921 [details]
Attachment 273921 [details] did not pass style-queue:
ERROR: Source/WebCore/editing/EditorCommand.cpp:1177: More than one command on the same line [whitespace/newline] 
Total errors found: 1 in 9 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Committed r198092: <http://trac.webkit.org/changeset/198092>
Yay! Thanks Sam!
(In reply to comment #10)
> Yay! Thanks Sam!
My pleasure! Any chance we can get Github updated to check document.queryCommandSupported("copy") to add the copy button :).