YAKIUDON

    @@ -12,11 +12,8 @@ // tbs http://d.hatena.ne.jp/ken3memo+video/20111218/1324219672 (function () { - if (location.hash == "") { - a = location.search.substr(1).split('&'); - } else { - a = location.hash.substr(1).split('&'); - } + a = (location.hash == "") ? location.search : location.hash; + a = a.substr(1).split('&'); a = a.filter(function (e) { return /^(?:q|tbm|tbs)/.test(e); });
  • /*
     * @title YAKIUDON
     * @description  google search url shaper via http://let.hatelabo.jp/uneco/let/gYC-yby_yIjbcQ
     * @include http://www.google.co.jp/search*
     * @include https://www.google.co.jp/search*
     * @license MIT License
     * @require 
     */
    
    // tbm http://hisame72.blog133.fc2.com/blog-entry-302.html
    //  ( via http://let.hatelabo.jp/nkoz/let/gYC-ysq6-6rrGw )
    // tbs http://d.hatena.ne.jp/ken3memo+video/20111218/1324219672 
    
    (function () {
      a = (location.hash == "") ? location.search : location.hash;
      a = a.substr(1).split('&');
      a = a.filter(function (e) {
        return /^(?:q|tbm|tbs)/.test(e);
      });
      a = a.join('&');
      a = location.pathname + '?' + a;
      history.pushState(null, null, a);
    })()
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/08/27 11:55:34 - 2014-08-27
  2. 2014/07/14 16:13:01 - 2014-07-14
  3. 2013/01/11 20:03:58 - 2013-01-11
  4. 2013/01/11 16:39:28 - 2013-01-11
  5. 2013/01/11 16:20:50 - 2013-01-11
  6. 2013/01/11 16:11:22 - 2013-01-11
  7. 2012/10/12 17:03:43 - 2012-10-12
  8. 2012/04/03 23:35:54 - 2012-04-03
  9. 2012/04/03 23:34:35 - 2012-04-03
  10. 2012/04/03 23:31:58 - 2012-04-03
  11. 2012/04/03 23:26:28 - 2012-04-03
  12. 2012/04/03 23:04:20 - 2012-04-03