While working on a wysiwyg editor, I hit the wall of Firefox restricting access to the clipboard (haven't yet tested Webkit).
Can someone explain WHY copying to the clipboard is restricted?
I just cannot think of a single way that this can be used nefariously, and use-cases abound where lack of 'copy' support is a problem.
In fact, whole libraries such as zeroClipboard are there just to facilitate this function.
(I understand - but disagree - that allowing read access to the clipboard can create a hole, though a popup would solve that.)Are there any good hacks/methods that would give me a 'paste' button? I have seen posts refer to 'textarea trick' among others, without explanation of how they work.
Is there a term for the all-too-common scenario where production by legitimate users is hampered by 'security precautions', and the 'bad guys' use hacks [like zeroClip] that render the secure feeling completely false?
I am aware that there is a convoluted 'official' method that is available if I sign my scripts.. [which I do not have the knowledge or resources to do], but that even that would generate a popup whenever I use it.