
simpleCopy is a dead simple, dependency-free JavaScript library that allows you to copy any content to the clipboard.
How to use it:
Download and import the simpleCopy library into the html file.
<script src="simplecopy.min.js"></script>
Call the main function and specify the content to be copied into your clipboard.
simplecopy(copyText)
Execute a custom function after the content is copied into the clipboard.
simplecopy(copyText, callback)
Changelog:
05/03/2019
- Use innerText








How can i do if in my post there are many area texts which need to be copy?