Go Back To Groovy Home from Groovy Wiki.

  • /*
     * @title Go Back To Groovy Home from Groovy Wiki.
     * @description Add link to go back to Groovy Home from Groovy Wiki. (for Firefox GreaseMonkey)
     * @include http://docs.codehaus.org/display/GROOVY/*
     * @license MIT License
     * @require http://code.jquery.com/jquery-1.6.min.js
     */
    
    (function() {
      var backUrl = location.href.replace(/docs\./, 'groovy.').replace(/\/display\/GROOVY/, '');
      var addHtml = '<li class="ajs-button normal">' +
                    '<a id="editPageLink" href="' + backUrl + '" class="edit" accessKey="b" >' +
                    '<span>Go <u>B</u>ack</span></a>' +
                    '</li>';
      var parentUl = $('#editPageLink').parent().parent();
      $(parentUl).html(addHtml + $(parentUl).html());
    })();
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2011/05/08 09:04:15 - 2011-05-08
  2. 2011/05/08 08:50:14 - 2011-05-08
  3. 2011/05/08 08:48:01 - 2011-05-08
  4. 2011/05/08 03:35:31 - 2011-05-08
  5. 2011/05/08 03:17:34 - 2011-05-08