This article mainly shares relevant information about the js paste screen to the web page plug-in screenshot-paste. If you are interested, you can refer to it in many occasions, we may need to provide a screen upload to the system as a credential. The traditional operation method is: screen, save the file to the local, select a local file on the web page and upload it, here at least three steps are required. Is it possible to directly paste the post to the web page and then upload it? The answer is: yes. This is what we will introduce.
Because my project has the need to upload screens, I searched the internet and found some eyes for better user experience and reduced operation steps. To facilitate reuse and sharing, I made some encapsulation of this function, so I had the plug-in screenshot-paste. The running effect is as follows:
Example of plug-in call:
Screenshot paste example