- From: Hallvord R. M. Steen <hsteen@mozilla.com>
- Date: Mon, 15 Sep 2014 13:25:45 -0700 (PDT)
- To: "James M. Greene" <james.m.greene@gmail.com>
- Cc: Ben Peters <Ben.Peters@microsoft.com>, Perry Smith <pedzsan@gmail.com>, public-webapps <public-webapps@w3.org>
----- Original Message ----- From: "James M. Greene" <james.m.greene@gmail.com> >> So if, in response to a click event your document.execCommand('copy') call >> returns false, you will have to fall back on the Flash clipboard widgets. >> Might be all you need? > That may be true in the modern browsers that compliant with the Editing > spec[1] but it certainly won't work for trying to detect the need for Flash > fallbacks in older browsers as some of them will throw an Error instead of > returning false. In that case you could use try...catch for the same detection, no? -Hallvord
Received on Monday, 15 September 2014 20:26:13 UTC