addforklink

    @@ -1,6 +1,6 @@ /* * @title addforklink - * @description Add a fork link in my bookmarklet page of hatena::let + * @description Add a fork link in my bookmarklet page of hatena::let (for userscript) * @include http://let.hatelabo.jp/* * @license MIT License */
  • /*
     * @title addforklink
     * @description Add a fork link in my bookmarklet page of hatena::let (for userscript)
     * @include http://let.hatelabo.jp/*
     * @license MIT License
     */
    
    (function () {
      a = document.querySelector("a.edit-link[href*='let.edit']");
      if (!a) return;
      b = a.cloneNode();
      b.href = a.href.replace("edit", "fork");
      b.textContent = "Fork";
      a.parentNode.insertBefore(b, a.nextSibling);
    })()
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2015/02/25 16:51:47 - 2015-02-25
  2. 2012/04/11 09:46:35 - 2012-04-11
  3. 2012/04/11 09:45:10 - 2012-04-11
  4. 2012/04/11 09:38:59 - 2012-04-11