Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
document.execCommand('copy', false, '-' + option + '-');
<div id="test2">
Hello
</div>
<script>
var test1 = "Here it is";
alert('5');
var sHTML = "<br><hr height= 5 color=blue width =2>" + test1;
alert('6');
test2.insertAdjacentHTML("beforeEnd",sHTML);
alert('7');
</script>
copied = clipboardData.getData('Text');
document.writeln('<div id="test2">');
document.writeln(copied);
document.writeln('</div>');
var sHTML = "<br><hr height= 5 color=blue width =2>" + copied;
test2.insertAdjacentHTML("beforeEnd",sHTML);