Re: Clipboard API: Enable `copy` event simulation with user's express permission (domain-wide)?

Also, will there be any way for us to feature detect when this is available?

I'm thinking that just using `document.queryCommandSupported("copy")` and
`document.queryCommandEnabled("copy")` could return some false positives
(i.e. the feature is not yet implemented but returns `true` anyway) when
the user is working within a "contenteditable" element, right?

Sincerely,
    James Greene



On Fri, Sep 13, 2013 at 10:10 AM, James Greene <james.m.greene@gmail.com>wrote:

> Excellent.  Thank you!
>
> Should we be including touch device events, too?  e.g. "touchend",
> "pointerup", etc.
>
> Sincerely,
>     James Greene
>
>
>
> On Fri, Sep 13, 2013 at 4:12 AM, Hallvord Steen <hsteen@mozilla.com>wrote:
>
>> >> AFAIK Flash shipped with a more liberal model first, but the abuse
>> problem
>> >> was considered significant enough to tighten the model and make it more
>> >> restrictive.
>>
>> > That's correct:
>> >   - In Flash 9, you could use the
>> > `System.setClipboard<
>> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system
>> > /System.html#setClipboard()>`
>>
>> Thanks for outlining the history and documentation. I think we should
>> give authors (at least) the same convenience as Flash does. Reported here:
>> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23235
>>
>> -Hallvord (in "I will try to get around to actually updating the spec
>> too"-mode)
>>
>
>

Received on Friday, 13 September 2013 15:23:43 UTC