I have a problem with my extension. I want to paste data from the clipboard.
So far, I've got this:
function pasteAndGo()
{
document.execCommand('paste')
alert(Pasted)
}
The alert comes up, but nothing has been pasted.
I've got a feeling it's the document
part that needs changing, but I don't know what to do. Any ideas?