navigator.clipboard.writeText(str).then(function () {
                        console.log('Async: Copying to clipboard was successful!');
                    }, function (err) {
                        console.error('Async: Could not copy text: ', err);
                    });
                    event.stopPropagation();
                    event.preventDefault();
                    return false;
                }, false);
            }, 2000)
        </script>
        
        <!-- <style type="text/css">