Skip to content

Instantly share code, notes, and snippets.

@unhammer
Created September 29, 2011 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unhammer/1250564 to your computer and use it in GitHub Desktop.
Save unhammer/1250564 to your computer and use it in GitHub Desktop.
make adding gwene feeds _slightly_ faster
<html>
<body>
<a href="javascript:
var f = document.createElement('form');
f.setAttribute('method', 'post');
f.setAttribute('action', 'http://gwene.org/');
var i = document.createElement('input');
i.setAttribute('type', 'hidden');
i.setAttribute('name', 'url');
i.setAttribute('value', location.href);
f.appendChild(i);
document.body.appendChild(f);
f.submit();
">gwene it!</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment