Skip to content

Instantly share code, notes, and snippets.

@yoko
Created May 21, 2009 02:18
Show Gist options
  • Save yoko/115224 to your computer and use it in GitHub Desktop.
Save yoko/115224 to your computer and use it in GitHub Desktop.
Bookmarklet for Mapy: http://mapy.kayac.com/
javascript:%20(function(){var%20form=document.createElement('form');form.method='POST';form.action='http://mapy.kayac.com/';form.innerHTML='<div><input%20type="hidden"%20name="url"%20value="'+location.href+'"/></div>';document.body.appendChild(form);form.submit();})();
/*
(function() {
var form = document.createElement('form');
form.method = 'POST';
form.action = 'http://mapy.kayac.com/';
form.innerHTML = '<div><input type="hidden" name="url" value="'+location.href+'"/></div>';
document.body.appendChild(form);
form.submit();
})();
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment