GMap2Intel
by
kik0220
2015-02-26 [2015/02/26 11:41:52]
Googleマップで開いている場所をIngress Intel Mapで開きます。
@@ -1,5 +1,5 @@
/*
- * @title Google Maps to Intel Map
+ * @title GMap2Intel
* @description Googleマップで開いている場所をIngress Intel Mapで開きます。
* @include https://www.google.co.jp/maps
* @license MIT License
/*
* @title GMap2Intel
* @description Googleマップで開いている場所をIngress Intel Mapで開きます。
* @include https://www.google.co.jp/maps
* @license MIT License
* @javascript_url
*/
(function(){
var u = document.location.href;
var l = u.match(/\/@([\d\.]+,[\d\.]+),((\d+)z)?/);
open('https://www.ingress.com/intel?ll=' + l[1] + (l[3] ? '&z=' + l[3] : ''));
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。