<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title></title>
<style>
Text
</style>
Input
</head>
<body>
<div class=loader>
<div class="lds-grid"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><button id=button onclick="copyIt();this.innerHTML = 'Tap Done'"></button></div>
</div>
<input id=Passthrough />
<script>
function iosCopyToClipboard(el) {
var oldContentEditable = el.contentEditable,
oldReadOnly = el.readOnly,
range = document.createRange();
el.contentEditable = true;
el.readOnly = false;
range.selectNodeContents(el);
var s = window.getSelection();
s.removeAllRanges();
s.addRange(range);
el.setSelectionRange(0, 999999); // A big number, to cover anything that could be inside the element.
el.contentEditable = oldContentEditable;
el.readOnly = oldReadOnly;
document.execCommand('copy');
}
function copyIt() {
document.body.className ="loaded done";
iosCopyToClipboard(document.getElementById("Passthrough"));
}
function shortcutResult(result){
document.getElementById("button").innerHTML = "Tap Here";
document.getElementById("Passthrough").value = JSON.stringify(result)
document.body.className = "loaded";
}
try {
Combined Text
} catch (e) {
document.write(e.message);
}
</script>
</body>
</html>