Is it possible to fully mimic clipboard functionality using the chrome extension APIs?
问题 Subject: I'm in the process of creating a chrome extension and, for certain features, I would like to copy some text to the clipboard and automatically paste it into whatever element has the focus for the user. Getting my text into the clipboard is no problem. I can simply create a textarea in my background page, set its value accordingly and then select it's contents. Then, I can use document.execCommand("copy"); Problem: The problem comes when I try to use document.execCommand('paste') in