Skip to content

Instantly share code, notes, and snippets.

@ozero
Last active August 29, 2015 14:18
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 ozero/a2bc25d91cbaf5630b1f to your computer and use it in GitHub Desktop.
Save ozero/a2bc25d91cbaf5630b1f to your computer and use it in GitHub Desktop.
Bookmarklet to open GoogleMap in current IITC view
javascript:(function(){
var e=$("a:contains('Permalink')");
setPermaLink(e);
var f=e.attr("href").replace(/.*?ll=(.*?),(.*?)&z=([0-9]+)/g,"https://www.google.co.jp/maps/@$1,$2,$3z?hl=ja");
window.open(f);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment