I'm having trouble verifying that firefox ran the element.execCommand ('Copy', false, null) command.
This check is done correctly in Chrome (which does not allow) and in IE (which allows).
Could you please help me out?
The following part of the code follows:
editorDoc.body.focus();
editorDoc.execCommand ('SelectAll', false, null);
if( ! editorDoc.execCommand ('Copy', false, null) )
alert('As opções de segurança do seu navegador impedem a cópia do conteúdo de maneira automática. Por favor, utilize [CTRL]+[C] em seu teclado.');
You can test the current operation here: link
Note : In firefox the text is selected, Chrome text is selected and the alert is issued, and not > IE 11 text is selected and copied to Clipboard.