goo.gl to Details

    
      
  • /*
     * @title goo.gl to Details
     * @description goo.gl short URL to change .info URL
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    (function(){
        var a,d=document,i,h,c;
        a=d.getElementsByTagName('a');
            for(i=0;i<a.length;i++){
                if(a[i].hasAttribute('href') && a[i].getAttribute != 'null'){
                    h=a[i].getAttribute('href');
                       if( h.match(/^http:\/\/goo\.gl\/(\w{4,5})/i) ){
                           a[i].setAttribute('href','http://goo.gl/#analytics/goo.gl/' + RegExp.$1 + '/all_time');
                       }
                }
    
            }
    })()
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2015/12/05 12:17:01 - 2015-12-05
  2. 2013/11/15 00:07:33 - 2013-11-15
  3. 2012/12/25 19:30:40 - 2012-12-25