1<div class="CopyMeClass" id="CopyMeID">The text to copy to the clipboard.</div>
2<div><button onclick="CopyClassText()">Copy The Text</button></div>
1<a class="cls_copy_pg_action copyAction copy-action-btn" data-value="THIS TEXT WILL BE COPIED"> <i class="far fa-copy"></i> Copy</a>
1<script type="text/JavaScript">
2//courtesy of BoogieJack.com
3function killCopy(e){
4return false
5}
6function reEnable(){
7return true
8}
9document.onselectstart=new Function ("return false")
10if (window.sidebar){
11document.onmousedown=killCopy
12document.onclick=reEnable
13}
14</script>
15