Re: safeguarding a live getData() against looping scripts? (was: Re: clipboard events)

On , Hallvord R. M. Steen <hallvord@opera.com> wrote:

> On Thu, 19 May 2011 09:11:56 +0900, Joćo Eiras <joao.eiras@gmail.com>
> wrote:
>
>> getData and setData must work outside clipboard events, like when
>> clicking paste/copy/cut buttons on a toolbar.
>
> I think this is covered by execCommand('Paste') etc.
>

But there is no way to access the clipboard contents. Or does execCommand dispatch a synchronous event ? What if the event is prevented ? Does execCommand return false ?

Received on Thursday, 19 May 2011 00:44:04 UTC