go to bkuma

    @@ -2,13 +2,12 @@ * @title go to bkuma * @description "がんばる私"に、ちょと一息。 * @include http://b.hatena.ne.jp/entry/* - * @exclude http://b.hatena.ne.jp/entry/*/comment/* * @license MIT License * @require */ (function() { - location.href = location.href.replace(/^http:\/\/b/, 'http://bkuma'); + if (!/^http:\/\/b\.hatena\.ne\.jp\/entry\/[0-9]+\/comment\//.test(location.href)) { + location.href = location.href.replace(/^http:\/\/b/, 'http://bkuma'); + } }()); - -
  • /*
     * @title go to bkuma
     * @description "がんばる私"に、ちょと一息。
     * @include http://b.hatena.ne.jp/entry/*
     * @license MIT License
     * @require 
     */
    
    (function() {
      if (!/^http:\/\/b\.hatena\.ne\.jp\/entry\/[0-9]+\/comment\//.test(location.href)) {
        location.href = location.href.replace(/^http:\/\/b/, 'http://bkuma');
      }
    }());
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/12/10 18:02:20 - 2014-12-10
  2. 2014/12/10 17:04:03 - 2014-12-10
  3. 2014/11/20 10:47:33 - 2014-11-20