eval Hatena::Let

    @@ -8,6 +8,7 @@ * @license MIT License http://opensource.org/licenses/MIT */ +// if you use in global sites; c.f. http://let.hatelabo.jp/amachang/let/gYC-ypTj2OeXdA (function () { // self => edit-button, other => fork-button // c.f. http://let.hatelabo.jp/noromanba/let/gYC-y5bd9OWBAA @@ -29,4 +30,4 @@ document.body.appendChild(s); }, false); -})(); +})();
  • /*
     * @title Run Hatena::Let
     * @description silent eval in Hatena::Let
     * @include http://let.hatelabo.jp/*
     * @contributor mafucode  http://let.hatelabo.jp/mafucode/let/gYC-y5XlrOu8fA
     * @contributor taizooo   http://let.hatelabo.jp/taizooo/let/gYC-x5a6kcvwTQ (Fork of)
     * @author      noromanba http://let.hatelabo.jp/noromanba/let/gYC-y5bd55apeg
     * @license MIT License http://opensource.org/licenses/MIT
     */
    
    // if you use in global sites; c.f. http://let.hatelabo.jp/amachang/let/gYC-ypTj2OeXdA
    (function () {
      // self => edit-button, other => fork-button
      // c.f. http://let.hatelabo.jp/noromanba/let/gYC-y5bd9OWBAA
      var a = document.querySelector('a.edit-link[href]');
      if (!a) return;
    
      var b = a.cloneNode();
      b.href = 'javascript:void 0';
      b.textContent = '|>RUN';
      b.style.backgroundColor = '#6699FF';
      b.style.color = 'white';
      b.style.backgroundImage = 'url("http://let.hatelabo.jp/images/config-icon-advanced-on.png")';
      a.parentNode.insertBefore(b);
    
      b.addEventListener('click', function () {
        var s = document.createElement('script');
        s.charset = 'utf-8';
        s.src = location.href + '.loader.js';
        document.body.appendChild(s);
      }, false);
    
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/05/17 03:42:32 - 2013-05-17
  2. 2013/05/16 04:53:34 - 2013-05-16
  3. 2013/05/16 04:31:43 - 2013-05-16
  4. 2013/05/16 04:18:27 - 2013-05-16
  5. 2013/02/08 14:29:30 - 2013-02-08
  6. 2013/02/08 09:04:10 - 2013-02-08
  7. 2013/02/08 04:07:10 - 2013-02-08
  8. 2013/02/08 03:58:38 - 2013-02-08
  9. 2013/02/08 03:53:33 - 2013-02-08
  10. 2013/02/08 03:36:15 - 2013-02-08
  11. 2013/02/08 03:14:56 - 2013-02-08
  12. 2013/02/08 03:13:38 - 2013-02-08