Here is something strange,looks not like all kind of copy & paste image can operating successfully.
When I copy an image from QQ,it just throw Uncaught TypeError: Cannot read property 'name' of null to console and nothing happen.
The script can recognize the pasted object as an png file.But when it trying to getAsFile() it just failed and return null.
Here is an screenshot of the debugging on chrome.


Here is something strange,looks not like all kind of copy & paste image can operating successfully.
When I copy an image from QQ,it just throw
Uncaught TypeError: Cannot read property 'name' of nullto console and nothing happen.The script can recognize the pasted object as an png file.But when it trying to getAsFile() it just failed and return null.
Here is an screenshot of the debugging on chrome.